TAMULib / CatalogService

A service for interfacing with Library Catalogs
MIT License
0 stars 1 forks source link

Afford sorting of loans with parameters #166

Closed jcreel closed 2 years ago

jcreel commented 2 years ago

Utilize the existing loans endpoint, and ensure backwards compatibility by providing default parameter values.

Have this endpoint accept sort by title, location, due date, renew status - basically any of the columns available

This endpoint will, behind the scenes, have to make a CQL request to FOLIO. Catalog Service will serve to abstract this for us.

Use the same syntax for requests to this endpoint as we are using for pageable, sortable, JPA repositories.

https://github.com/TAMULib/CatalogService/blob/cf9e0dd903b028dc0c58cd46bad05606c7f24b42/service/src/main/java/edu/tamu/catalog/controller/PatronController.java#L53

When taking on this solution, it will entail a card on MyLibraryService to pass the appropriate parameters and a card on MyLibraryUI for the table controls.

rmathew1011 commented 2 years ago

Closing this issue because

  1. MyLibraryService
  2. MyLibraryUI