Angular staff catalog recent searches & search templates
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Evergreen 3.3
This is a two-parter, which I'm lumping together since they are so closely related and will share underlying code.
1. Port the Staff Recent Searches functionality from the staff TPAC into the Angular catalog.
2. Add support for search templates in the Angular catalog.
Search Templates are canned searches which staff can name and save (as workstation setting, most likely) to reuse in later searches. The templates store all of the search filters (format, type, boolean operators, etc.), but unlike Recent Searches, they do not store the actual query string (hence "template" instead of "saved search"). The goal is a reusable set of filters that can be easily recalled to perform new searches.
Changed in evergreen: | |
importance: | Undecided → Wishlist |
Changed in evergreen: | |
assignee: | nobody → Chris Sharp (chrissharp123) |
Changed in evergreen: | |
assignee: | Chris Sharp (chrissharp123) → nobody |
Changed in evergreen: | |
assignee: | nobody → Galen Charlton (gmc) |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
Recent Searches and Search Templates code:
https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ berick/ lp1837478- ang-catalog- search- templates
To test recent searches, it's necessary to set a value for the "opac.staff_ saved_search. size" org unit setting. When unset, the recent searches selector will be hidden.
The code also includes a new workstation setting type "eg.catalog. search_ templates" for saving search templates.
For UI consistency and to preserve some space, the Basket Actions selector is now a dropdown instead of a select element. Selectors for Recent Searches and Search Templates sit just above the basket actions selector.