Angular staff catalog recent searches & search templates

Bug #1837478 reported by Bill Erickson
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fix Released

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.

Bill Erickson (berick)
Changed in evergreen:
importance: Undecided → Wishlist
Revision history for this message
Bill Erickson (berick) wrote :

Recent Searches and Search Templates code:;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.

tags: added: pullrequest
Changed in evergreen:
status: In Progress → New
assignee: Bill Erickson (berick) → nobody
Revision history for this message
Bill Erickson (berick) wrote :

Adding pullrequest and targeting 3.4, though it could theoretically be ported to 3.3 as with other Angular catalog code, depending on ease of back-port-ability.

Changed in evergreen:
assignee: nobody → Chris Sharp (chrissharp123)
Revision history for this message
Chris Sharp (chrissharp123) wrote :

Tested and works for me. Signoff branch available at:


tags: added: signedoff
Changed in evergreen:
assignee: Chris Sharp (chrissharp123) → nobody
Galen Charlton (gmc)
Changed in evergreen:
assignee: nobody → Galen Charlton (gmc)
Revision history for this message
Galen Charlton (gmc) wrote :

Pushed to master for inclusion in 3.4. Thanks, Bill and Chris!

Changed in evergreen:
status: New → Fix Committed
assignee: Galen Charlton (gmc) → nobody
Galen Charlton (gmc)
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers