Angular Staff Catalog Preferences Should Include Checkboxes, Sort Order

Bug #1943744 reported by Elizabeth Thomsen
150
This bug affects 32 people
Affects Status Importance Assigned to Milestone
Evergreen
Confirmed
Wishlist
Unassigned

Bug Description

The Catalog Preferences currently allow you to save a default search library, preferred library, search pane, number of results displayed, and whether or not the checkbox to exclude electronic resources should be on the search form, but it would be much more useful if it also allowed the user to also store the sort order and the settings for each checkbox.

(Tested on Evergreen 3.7.1)

Revision history for this message
Elizabeth Thomsen (et-8) wrote :
Changed in evergreen:
status: New → Confirmed
Revision history for this message
Jennifer Weston (jweston) wrote :

+1 to Catalog Preferences also allowing the user to store the sort order and the settings for each checkbox.

Making note of ongoing discussion about behavior of "Exclude Electronic Resources" (https://bugs.launchpad.net/evergreen/+bug/1908727) as it could be relevant to any changes to the Catalog Preferences

Revision history for this message
Elizabeth Thomsen (et-8) wrote :

Still a much-desired feature for catalogers (and others) -- the ability to configure these search defaults would eliminate a lot of repeatedly choose the same options

Confirmed, on head (https://bugsquash.mobiusconsortium.org/eg/staff)

Revision history for this message
Millissa (millissam) wrote :

This would make my staff extremely happy!

Changed in evergreen:
importance: Undecided → Wishlist
Revision history for this message
Christina Hammermeister (christinaregina) wrote :

I would personally be very happy with this.

tags: added: ux-preferences
Steven Mayo (stmayo)
Changed in evergreen:
assignee: nobody → Steven Mayo (stmayo)
Revision history for this message
Steven Mayo (stmayo) wrote :

Branch: https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/smayo/LP1943744-Staff_Catalog_Preferences_Include_Checkboxes_And_Sort_Order

Added 3 new workstation settings for default values for Sort Order, Limit to Available, and Group Formats/Editions. Didn't include Results from All Libraries, because... wouldn't you just set your search org higher? Am I missing something about how stuff works?
Will add a new setting for that too if people want it.

There are new rows on the Search Preferences page to modify each of these.

Pulled the Sort Results dropdown into its own component, sort-order-select, so that it will stay the same despite being in more than one place now. That component is used in the search form and the search preferences.

Added a check to the Catalog Service that applies your defaults if you haven't clicked it yourself. It took longer than I expected to wrangle the checkboxes into not always using the default without ignoring it entirely. Had to force the URL to always include the checkboxes to do that.

Spent longer than I expected on this, but it's been a busy month, and making a new component took some learning about Angular. My brain has embiggened.

Steps to Test:
[1] Go to Cataloging -> Search the Catalog
[2] Observe that Sort Results is 'Sort by Relevance' and the 'Limit to Available' and 'Group Formats/Editions' checkboxes are unchecked.
[3] Go to Search Preferences
[4] Observe the new Default Sort Order, Default Limit to Available, and Default Group Formats/Editions rows
[5] Select a new value in the dropdown and check one or both of the checkboxes
[6] Reset the search to the default state - go back to the home page and go back to search again OR manually remove all the parameters from your URL
[6.1] If you search immediately from the preferences page instead, it should search using the values in your search bar instead of the defaults
[7] Observe that Sort Results, Limit to Available, and Group Formats/Editions are as you set the preferences
[8] Click on a search result and then click on the 'Back to Results' button
[9] Ensure the search bar is as you left it
[10] Modify the dropdown and checkboxes and search again
[11] Click on a search result and then click on the 'Back to Results' button
[12] Ensure the search bar is as you left it
[13] Go to Search Preferences again
[14] Ensure the search bar is as you left it

Changed in evergreen:
assignee: Steven Mayo (stmayo) → nobody
tags: added: pullrequest
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.