[Bug 42260] New: Use select2 to choose library limitations in Z39.50 server administration
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42260 Bug ID: 42260 Summary: Use select2 to choose library limitations in Z39.50 server administration Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Templates Assignee: oleonard@myacpl.org Reporter: oleonard@myacpl.org QA Contact: testopia@bugs.koha-community.org Like Bug 39099. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42260 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42260 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Sponsorship status|--- |Sponsored Status|ASSIGNED |Needs Signoff Comma delimited| |Athens County Public list of Sponsors| |Libraries Patch complexity|--- |Trivial patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42260 --- Comment #1 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 196718 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196718&action=edit Bug 42260: Use select2 to choose library limitations in Z39.50 server administration This patch updates the Z39.50 server administration template so that library selection uses a Select2-styled menu instead of a standard <select>. To test, apply the patch and go to Administration -> Z39.50/SRU servers. - Create or edit a new Z39.50 or SRU server. - On the "Library limitation" line, click the field to trigger the Select2 menu. Confirm that it works as expected. - Save your changes to confirm that the data is saved correctly. - Edit the server again to clear all your selections and confirm that it saves correctly. Sponsored-by: Athens County Public Libraries -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42260 Laura Escamilla <Laura.escamilla@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off --- Comment #2 from Laura Escamilla <Laura.escamilla@bywatersolutions.com> --- Patch applies cleanly and works as described. Select2 is correctly applied to the library limitation field on both add and edit forms. Selections save and clear as expected. One minor issue: - The script directly accesses $("#library_limitation")[0] without checking for existence, which could cause errors if the element is not present. Optional: - Inline styling (minWidth) could potentially be handled via CSS instead. Otherwise, functionality and UX improvements work well. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42260 Laura Escamilla <Laura.escamilla@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196718|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=42260 --- Comment #3 from Laura Escamilla <Laura.escamilla@bywatersolutions.com> --- Created attachment 196719 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196719&action=edit Bug 42260: Use select2 to choose library limitations in Z39.50 server administration This patch updates the Z39.50 server administration template so that library selection uses a Select2-styled menu instead of a standard <select>. To test, apply the patch and go to Administration -> Z39.50/SRU servers. - Create or edit a new Z39.50 or SRU server. - On the "Library limitation" line, click the field to trigger the Select2 menu. Confirm that it works as expected. - Save your changes to confirm that the data is saved correctly. - Edit the server again to clear all your selections and confirm that it saves correctly. Sponsored-by: Athens County Public Libraries Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42260 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |42119 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42119 [Bug 42119] Update various admin pages to use grid layout for forms - Part 3 -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org