OPAC advanced search: selecting a shelving location group doesn't update the shelving locations
Bug #2060351 reported by
Jane Sandberg
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Steps to recreate:
1. Load the enhanced concerto data set
2. Go to the OPAC advanced search screen
3. Open the shelving location area
4. Use the "Search library" dropdown to select a few libraries and systems. Note that the shelving location checkboxes update to match the org unit that you have selected.
5. Select the "Juvenile Collection" from the "Search library" dropdown. Note that nothing happens.
6. Open your browser's dev tools console. Note that we got an error message: "TypeError: org_unit is undefined"
I will be fixing this bug, as well as removing Dojo from copyloc.js, on behalf of NOBLE.
Changed in evergreen: | |
assignee: | Jane Sandberg (sandbergja) → nobody |
To post a comment you must log in.
Here is a branch that allows the OPAC's shelving location selector to be limited to a shelving location group: user/sandbergja /lp2060351- opac-shelving- location- selector- groups
Here is a link: https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ sandbergja/ lp2060351- opac-shelving- location- selector- groups
It also removes Dojo from copyloc.js and gets it under test.
To run the automated tests, run cd Open-ILS/ web/opac/ deps && npm run test
To test in a browser:
1. Apply the top two commits of this branch
2. Run make install
3. Load the enhanced concerto data set
4. Go to the OPAC advanced search screen
5. Open the shelving location area
6. Use the "Search library" dropdown to select a few libraries and systems. Note that the shelving location checkboxes update to match the org unit that you have selected.
7. Select the "Juvenile Collection" from the "Search library" dropdown. Note that the shelving location checkboxes update to match the locations included in the group.
This was commissioned by NOBLE, who will be testing it. I'll add the pullrequest tag after their testing and any follow-up work.