Bootstrap OPAC: Refine Original Search loses Shelving Location
Bug #1910563 reported by
Terran McCanna
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).
Changed in evergreen: | |
status: | New → Confirmed |
To post a comment you must log in.
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.