[Bug 44211] New: Holds to pull library filter fails when library name contains an ampersand
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44211 Bug ID: 44211 Summary: Holds to pull library filter fails when library name contains an ampersand Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: trivial Priority: P5 - low Component: Circulation Assignee: Laura.escamilla@bywatersolutions.com Reporter: Laura.escamilla@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle@bywatersolutions.com Target Milestone: --- The library dropdown filter on the Circulation > Holds to pull page does not work correctly when a library name contains an ampersand (&). The library name is displayed correctly in the table itself, but the dropdown filter displays the HTML entity & instead of &. For example, a library named: Books & Pages Public Library appears in the dropdown as: Books & Pages Public Library Selecting this option returns no matching results, even though the library appears in the table. Steps to reproduce 1. Create or use a library with an ampersand (&) in its name. 2. Ensure there are qualifying holds for items available at that library. 3. Navigate to Circulation > Holds to pull. 4. Locate the Libraries dropdown filter. 5. Notice that the ampersand is displayed as &. 6. Select the library from the dropdown. 7. Notice that no matching results are returned. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44211 Laura Escamilla <Laura.escamilla@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44211 --- Comment #1 from Laura Escamilla <Laura.escamilla@bywatersolutions.com> --- Created attachment 212232 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212232&action=edit Bug 44211: Decode HTML entities in Holds to pull library filter To test: 1. Create or use a library with an ampersand (&) in its name. 2. Ensure there are qualifying holds for items available at that library. 3. Navigate to Circulation > Holds to pull. 4. Locate the Libraries dropdown filter. 5. Notice that the ampersand is displayed as &. 6. Select the library from the dropdown. 7. Notice that no matching results are returned. 8. Apply the patch 9. Refresh the Holds to Pull page and notice that the library is now properly displaying the ampersand 10. Select the library from the dropdown. Notice that the results now match. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44211 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44211 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #212232|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44211 --- Comment #2 from David Nind <david@davidnind.com> --- Created attachment 212240 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212240&action=edit Bug 44211: Decode HTML entities in Holds to pull library filter To test: 1. Create or use a library with an ampersand (&) in its name. 2. Ensure there are qualifying holds for items available at that library. 3. Navigate to Circulation > Holds to pull. 4. Locate the Libraries dropdown filter. 5. Notice that the ampersand is displayed as &. 6. Select the library from the dropdown. 7. Notice that no matching results are returned. 8. Apply the patch 9. Refresh the Holds to Pull page and notice that the library is now properly displaying the ampersand 10. Select the library from the dropdown. Notice that the results now match. Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44211 Lisette Scheer <lisette@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |jrobb@sekls.org |y.org | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44211 Jason Robb <jrobb@sekls.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA --- Comment #3 from Jason Robb <jrobb@sekls.org> --- Worked as described! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44211 Jason Robb <jrobb@sekls.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #212240|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44211 --- Comment #4 from Jason Robb <jrobb@sekls.org> --- Created attachment 212324 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212324&action=edit Bug 44211: Decode HTML entities in Holds to pull library filter To test: 1. Create or use a library with an ampersand (&) in its name. 2. Ensure there are qualifying holds for items available at that library. 3. Navigate to Circulation > Holds to pull. 4. Locate the Libraries dropdown filter. 5. Notice that the ampersand is displayed as &. 6. Select the library from the dropdown. 7. Notice that no matching results are returned. 8. Apply the patch 9. Refresh the Holds to Pull page and notice that the library is now properly displaying the ampersand 10. Select the library from the dropdown. Notice that the results now match. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Jason Robb <jrobb@sekls.org> -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org