[Bug 39099] New: Use select2 to select library limitations in item types, patron categories, and authorized values
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39099 Bug ID: 39099 Summary: Use select2 to select library limitations in item types, patron categories, and authorized values Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Staff interface Assignee: koha-bugs@lists.koha-community.org Reporter: jheltibridle@rcplib.org QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com When adding library limitations to item types, patron categories and authorized values, Koha should use the select2 format to allow multiple libraries to be selected without using the CTRL key. This would reduce the chance of mistakenly losing the previously selected libraries when updating. I think it would be the same sort of select as was used to improve the item search multi-select in bug 36545. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39099 --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I think this is a great idea to improve usability! -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39099 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |oleonard@myacpl.org |ity.org | Status|NEW |ASSIGNED -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39099 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |Main -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39099 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff Patch complexity|--- |Small patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39099 --- Comment #2 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 178284 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178284&action=edit Bug 39099: Use select2 to select library limitations in item types, patron categories, and authorized values This patch updates some administration templates so that library selection uses a Select2-styled menu instead of a standard <select>. Item types, patron categories, and authorized values all offer a "library limitation" option, and Select2 will make library selection behave like item search options do. To test, apply the patch and rebuild the staff interface CSS. - Go to Administration -> Item types and edit an item type. - 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 item type again to clear all your selections and confirm that it saves correctly. - Repeat the same process on the authorized values page and the patron categories page. 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=39099 Biblibre Sandboxes <sandboxes@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178284|0 |1 is obsolete| | --- Comment #3 from Biblibre Sandboxes <sandboxes@biblibre.com> --- Created attachment 178480 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178480&action=edit Bug 39099: Use select2 to select library limitations in item types, patron categories, and authorized values This patch updates some administration templates so that library selection uses a Select2-styled menu instead of a standard <select>. Item types, patron categories, and authorized values all offer a "library limitation" option, and Select2 will make library selection behave like item search options do. To test, apply the patch and rebuild the staff interface CSS. - Go to Administration -> Item types and edit an item type. - 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 item type again to clear all your selections and confirm that it saves correctly. - Repeat the same process on the authorized values page and the patron categories page. Sponsored-by: Athens County Public Libraries Signed-off-by: Janne Seppänen <janne.seppanen@lahti.fi> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39099 Janne Seppänen <janne.seppanen@lahti.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |janne.seppanen@lahti.fi 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=39099 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lucas@bywatersolutions.com --- Comment #4 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Looks like Bug 26553 got in the way here and a rebase is needed. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39099 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Patch doesn't apply -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39099 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Patch doesn't apply |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39099 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178480|0 |1 is obsolete| | --- Comment #5 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 178727 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178727&action=edit Bug 39099: Use select2 to select library limitations in item types, patron categories, and authorized values This patch updates some administration templates so that library selection uses a Select2-styled menu instead of a standard <select>. Item types, patron categories, and authorized values all offer a "library limitation" option, and Select2 will make library selection behave like item search options do. To test, apply the patch and rebuild the staff interface CSS. - Go to Administration -> Item types and edit an item type. - 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 item type again to clear all your selections and confirm that it saves correctly. - Repeat the same process on the authorized values page and the patron categories page. Sponsored-by: Athens County Public Libraries Signed-off-by: Janne Seppänen <janne.seppanen@lahti.fi> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39099 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=39533 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39099 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=39810 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39099 --- Comment #6 from Owen Leonard <oleonard@myacpl.org> --- Working on Bug 39810 makes me realize the updated hints in this patch probably don't make sense. I'm thinking something like this would be better: "Limits the use of this authorized value to the selected libraries" I think that makes it more clear given the fact that there isn't an "All libraries" option anymore. Anyone have opinions? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39099 --- Comment #7 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 181967 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=181967&action=edit Bug 39099: (follow-up) Re-word library limitation hint -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39099 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #181967|1 |0 is patch| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39099 --- Comment #8 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 181976 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=181976&action=edit Bug 39099: (follow-up) Re-word library limitation hint -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39099 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.renvoize@openfifth.c | |o.uk Attachment #181967|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=39099 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178727|0 |1 is obsolete| | --- Comment #9 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 182523 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=182523&action=edit Bug 39099: Use select2 to select library limitations in item types, patron categories, and authorized values This patch updates some administration templates so that library selection uses a Select2-styled menu instead of a standard <select>. Item types, patron categories, and authorized values all offer a "library limitation" option, and Select2 will make library selection behave like item search options do. To test, apply the patch and rebuild the staff interface CSS. - Go to Administration -> Item types and edit an item type. - 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 item type again to clear all your selections and confirm that it saves correctly. - Repeat the same process on the authorized values page and the patron categories page. Sponsored-by: Athens County Public Libraries Signed-off-by: Janne Seppänen <janne.seppanen@lahti.fi> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39099 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #181976|0 |1 is obsolete| | --- Comment #10 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 182524 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=182524&action=edit Bug 39099: (follow-up) Re-word library limitation hint Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39099 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |martin.renvoize@openfifth.c |y.org |o.uk Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39099 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to main Version(s)| |25.05.00 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39099 --- Comment #11 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Pushed for 25.05! Well done everyone, thank you! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39099 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |39957 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39957 [Bug 39957] Fix JS error on credit and debit types administration pages -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39099 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the| |This improves the selection release notes| |of the values for the | |'Libraries limitation' | |field when adding and | |editing: | | | |* item types | |* | |patron categories | |* | |authorized value categories | | | |Instead of selecting | |multiple values from a | |drop-down list using the | |Ctrl key, you can either | |select or start typing the | |value, select or press | |enter, then repeat to | |select additional values. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39099 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to main |Needs documenting CC| |fridolin.somers@biblibre.co | |m --- Comment #12 from Fridolin Somers <fridolin.somers@biblibre.com> --- Enhancement not pushed to 24.11.x -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39099 Rebecca Coert <rcoert@arlingtonva.us> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rcoert@arlingtonva.us -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org