Bootstrap OPAC: Refine Original Search loses Shelving Location

Bug #1910563 reported by Terran McCanna
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Confirmed
Undecided
Unassigned

Bug Description

In 3.6.1 Bootstrap OPAC:

If you perform an Advanced Search with specific shelving locations checked, then click the "Refine My Original Search", the Advanced Search form does not have those shelving locations checked (it looks like all of the other sections are working as expected).

Garry Collum (gcollum)
Changed in evergreen:
status: New → Confirmed
Revision history for this message
Jane Sandberg (sandbergja) wrote :

A note for anybody who wants to tackle this: this is likely a one line fix. On line 93 of copyloc.js, within the function render_adv_copy_locations_new, the code attempts to set the checkbox "selected" attribute to true based on the URL params. However, checkboxes don't have a "selected" attribute, they have a "checked" attribute. So changing "attrs.selected" to "attrs.checked" should theoretically do the trick.

tags: added: bitesize
Revision history for this message
Jane Sandberg (sandbergja) wrote :

...and I also meant to say that this issue is also fixed in the branch for bug 2060351.

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.