Angular Catalog: Shelving locations assigned to the top level OU do not display in list

Bug #1927527 reported by Garry Collum
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Medium
Unassigned
3.6
Fix Released
Medium
Unassigned

Bug Description

The angular catalog's shelving location filter currently displays "All Copy Locations" when the top level organization unit is selected as the search library. The locations that are assigned to the top level OU do not display in the list unless a sub-OU is selected.

As an example, in concerto, with the CONS selected the list displays "All Copy Locations". If SYS1 is selected, shelving locations for BR1, BR2, Sys1, and CONS are all displayed in the list.

Expected behavior would be to display the CONS shelving locations when CONS is selected, or to display the entire hierarchy.

Revision history for this message
Dan Briem (dbriem) wrote :

Here's a branch for testing: https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/dbriem/lp1927527_display_top_level_shelving_locations

When the root org unit is selected its shelving locations display as options. When any other org units is selected that org unit's ancestor and descendant shelving locations display as options. This carries over the same behavior as the OPAC.

Changed in evergreen:
status: New → Confirmed
tags: added: pullrequest
Revision history for this message
Garry Collum (gcollum) wrote :
tags: added: signedoff
Galen Charlton (gmc)
Changed in evergreen:
importance: Undecided → Medium
assignee: nobody → Galen Charlton (gmc)
milestone: none → 3.7.1
Revision history for this message
Galen Charlton (gmc) wrote :

Works for me. Pushed to master, rel_3_7, and rel_3_6 along with a follow-up that adds an explanatory comment. Thanks, Dan and Garry!

Changed in evergreen:
assignee: Galen Charlton (gmc) → nobody
status: Confirmed → Fix Committed
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.

Other bug subscribers

Remote bug watches

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