Unchecking Limit to Available in staff catalog does not refresh results when jquery is enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Evergreen 3.0.3
Limit to Available in staff catalog searches does not toggle OFF as in previous releases. To see the problem:
- Login to the staff client (web or xul)
- Perform a search
- Check the Limit to Available checkbox - the search reexecutes and the result set is filtered to hits with available items
- UN-Check the Limit to Available checkbox - the screen remains unchanged, continuing to show the filtered list
Clicking the Search button will reexecute the search with the available filter disabled, but this is a change in behavior from 3.0.2.
In Evergreen 3.0.2, when UN-Checking the Limit to Available checkbox in the staff client, the search reexecutes automatically, showing the unfiltered result list.
In the public catalog, UN-Checking the Limit to Available checkbox does reexecute the search automatically.
tags: | added: search webstaffclient |
summary: |
Unchecking Limit to Available in staff catalog does not refresh results + when jquery is enabled |
tags: | added: jquery |
tags: | removed: webstaffclient |
This appears to be another case, similar to the one reported in bug 1739666, where enabling jquery breaks some of our existing javascript functions.
In addition to enabling jquery, to replicate this issue, you also need to launch the initial search from the advanced search screen. Through continued testing, we've found that it happens both in the public catalog and staff client, so long as the search starts via advanced search.
The following error message appears in the Console: modifier_ onchange (simple. js?v=001: 96) t.onchange (results? query=patterson +die&qtype= keyword& fi%3Asearch_ format= &locg=1& detail_ record_ view=0& _adv=1& page=0& sort=&modifier= available: 969) modifier_ onchange @ simple.js?v=001:96 query=patterson +die&qtype= keyword& fi%3Asearch_ format= &locg=1& detail_ record_ view=0& _adv=1& page=0& sort=&modifier= available: 969
Uncaught TypeError: Cannot read property 'replace' of undefined
at search_
at HTMLInputElemen
search_
onchange @ results?