Angular catalog advanced search filters are not configurable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
In the TPAC, advanced search filters can be modified in several ways:
- You can add, remove, or modify the order of search filters. For example, if you don't want to use the "Video Format" filter, you can easily hide it via config.tt2.
- For any given filter, you can move an option to the top of the list my setting "Is Simple Selector" to "true" for that option. For example, you may want English to show at the top of the Language filter.
The TPAC configuration options are documented here:
https:/
Equivalent options are not available in the Angular catalog: is_simple is ignored, and there's no way to remove unwanted search filters.
tags: | added: staffcatalog |
tags: | added: regression |
Changed in evergreen: | |
milestone: | 3.7.1 → 3.7.2 |
Changed in evergreen: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in evergreen: | |
assignee: | nobody → Galen Charlton (gmc) |
Changed in evergreen: | |
importance: | Medium → Wishlist |
milestone: | 3.7.2 → 3.8-beta |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
Working branch user/jeffdavis/ lp1922273- staffcat- adv-search- filters has two commits that restore the missing behavior:
https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ jeffdavis/ lp1922273- staffcat- adv-search- filters
(1) The first commit moves simple selectors to the top of the list of options. To test, run this SQL command:
UPDATE config. coded_value_ map
SET is_simple = true
WHERE ctype = 'item_lang' AND code = 'eng';
That should move "English" to the top of the language search filter.
(2) The second commit adds an org unit setting, eg.staffcat. search_ filters, which lets you specify a list of search filters to display. After running the upgrade script, you can modify the list of search filters like so:
INSERT INTO actor.org_ unit_setting (name, org_unit, value) search_ filters' ,1,'["item_ lang"," audience" ,"lit_form" ]');
VALUES ('eg.staffcat.
This could also be implemented as a workstation setting by adding the setting to config. workstation_ setting_ type, but in our environment it's something we want to manage globally.