Unchecking Limit to Available in staff catalog does not refresh results when jquery is enabled

Bug #1745190 reported by Michele Morgan
12
This bug affects 2 people
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: search jquery
Revision history for this message
Kathy Lussier (klussier) wrote :

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:
Uncaught TypeError: Cannot read property 'replace' of undefined
    at search_modifier_onchange (simple.js?v=001:96)
    at HTMLInputElement.onchange (results?query=patterson+die&qtype=keyword&fi%3Asearch_format=&locg=1&detail_record_view=0&_adv=1&page=0&sort=&modifier=available:969)
search_modifier_onchange @ simple.js?v=001:96
onchange @ results?query=patterson+die&qtype=keyword&fi%3Asearch_format=&locg=1&detail_record_view=0&_adv=1&page=0&sort=&modifier=available:969

Changed in evergreen:
status: New → Confirmed
Revision history for this message
Kathy Lussier (klussier) wrote :

This problem also seems to occur with the Group Formats & Editions checkbox.

Revision history for this message
Heather Lindskold (heatherlindskold) wrote :

I am seeing the same behavior with the Show Results from All Libraries checkbox.

tags: added: search webstaffclient
Kathy Lussier (klussier)
summary: Unchecking Limit to Available in staff catalog does not refresh results
+ when jquery is enabled
tags: added: jquery
tags: removed: webstaffclient
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.