Summary: | A select2 in a bootstrap modal, like in the patron card batch patron search modal, needs it's parent defined | ||
---|---|---|---|
Product: | Koha | Reporter: | Michael Hafen <michael.hafen> |
Component: | Staff interface | Assignee: | Michael Hafen <michael.hafen> |
Status: | Pushed to stable --- | QA Contact: | Baptiste Wojtkowski (bwoj) <baptiste.wojtkowski> |
Severity: | trivial | ||
Priority: | P5 - low | CC: | baptiste.wojtkowski, gmcharlt, lucas |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | Trivial patch | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: |
25.11.00,25.05.03
|
Circulation function: | |
Attachments: |
Bug 40298 - define select2 parent in patron search modal
Bug 40298: define select2 parent in patron search modal Bug 40298: define select2 parent in patron search modal |
Description
Michael Hafen
2025-07-02 23:56:02 UTC
Created attachment 183721 [details] [review] Bug 40298 - define select2 parent in patron search modal The patron search modal in the patron card creator -> new batch -> patron search has two select2 modals, sort1 and sort2. If these are not anchored to the modal they will be anchored to the body element and appear behind the modal. Trivial patch so no test plan. Created attachment 183751 [details] [review] Bug 40298: define select2 parent in patron search modal The patron search modal in the patron card creator -> new batch -> patron search has two select2 modals, sort1 and sort2. If these are not anchored to the modal they will be anchored to the body element and appear behind the modal. To test, apply the patch and go to Tools -> Patron card creator -> New -> Card batch. - Click "Add patron(s)" - Test the "Sort 1" and "Sort 2" dropdowns. They should work correctly. Signed-off-by: Owen Leonard <oleonard@myacpl.org> Created attachment 184586 [details] [review] Bug 40298: define select2 parent in patron search modal The patron search modal in the patron card creator -> new batch -> patron search has two select2 modals, sort1 and sort2. If these are not anchored to the modal they will be anchored to the body element and appear behind the modal. To test, apply the patch and go to Tools -> Patron card creator -> New -> Card batch. - Click "Add patron(s)" - Test the "Sort 1" and "Sort 2" dropdowns. They should work correctly. Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Baptiste Wojtkowski <baptiste.wojtkowski@biblibre.com> Nice work everyone! Pushed to main for 25.11 Nice work everyone! Pushed to 25.05.x |