Summary: | Patrons requesting modifications: Expand correct panel | ||
---|---|---|---|
Product: | Koha | Reporter: | Owen Leonard <oleonard> |
Component: | Templates | Assignee: | Owen Leonard <oleonard> |
Status: | Pushed to oldstable --- | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | david, fridolin.somers, jonathan.druart, wainuiwitikapark |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Small patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: |
This fixes the panels in the staff interface on the patrons requesting modifications page. The automatic panel expansion was not working as expected:
- The first panel should expand by default (when there is no patron selected)
- The panel should expand when a patron is selected (when opening from the patron's record)
(This is related to the OPAC and staff interface Bootstrap 5 upgrade in Koha 24.11.)
|
Version(s) released in: |
25.05.00,24.11.01
|
Circulation function: | |||
Bug Depends on: | 35402 | ||
Bug Blocks: | |||
Attachments: |
Bug 38536: Patrons requesting modifications: Expand correct panel
Bug 38536: Patrons requesting modifications: Expand correct panel Bug 38536: Patrons requesting modifications: Expand correct panel |
Description
Owen Leonard
2024-11-26 15:30:20 UTC
Created attachment 174989 [details] [review] Bug 38536: Patrons requesting modifications: Expand correct panel This patch updates the JavaScript on the patrons requesting modification page in order to make it work following the upgrade to Bootstrap 5. The automatic panel expansion is broken. To test, apply the patch and enable, if necessary, the OPACPatronDetails system preference. - Log in to the OPAC and submit changes to your personal details. - Do this again as a different user so that there is more than one pending request. - From the staff interface home page, follow the link for "Patrons requesting modifications" - Upon loading, the "Update patron records" page should automatically expand the first panel. - Locate the patron record for the second of the patrons you requested updates for. - From that patron's detail page, follow the "Review pending modifications" link. - The panel containing that patron's information should expand by default. Sponsored-by: Athens County Public Libraries Created attachment 174991 [details] [review] Bug 38536: Patrons requesting modifications: Expand correct panel This patch updates the JavaScript on the patrons requesting modification page in order to make it work following the upgrade to Bootstrap 5. The automatic panel expansion is broken. To test, apply the patch and enable, if necessary, the OPACPatronDetails system preference. - Log in to the OPAC and submit changes to your personal details. - Do this again as a different user so that there is more than one pending request. - From the staff interface home page, follow the link for "Patrons requesting modifications" - Upon loading, the "Update patron records" page should automatically expand the first panel. - Locate the patron record for the second of the patrons you requested updates for. - From that patron's detail page, follow the "Review pending modifications" link. - The panel containing that patron's information should expand by default. Sponsored-by: Athens County Public Libraries Signed-off-by: David Nind <david@davidnind.com> Created attachment 175000 [details] [review] Bug 38536: Patrons requesting modifications: Expand correct panel This patch updates the JavaScript on the patrons requesting modification page in order to make it work following the upgrade to Bootstrap 5. The automatic panel expansion is broken. To test, apply the patch and enable, if necessary, the OPACPatronDetails system preference. - Log in to the OPAC and submit changes to your personal details. - Do this again as a different user so that there is more than one pending request. - From the staff interface home page, follow the link for "Patrons requesting modifications" - Upon loading, the "Update patron records" page should automatically expand the first panel. - Locate the patron record for the second of the patrons you requested updates for. - From that patron's detail page, follow the "Review pending modifications" link. - The panel containing that patron's information should expand by default. Sponsored-by: Athens County Public Libraries Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Pushed for 25.05! Well done everyone, thank you! Nice work everyone! Pushed to 24.11.x for 24.11.01 Backported to 24.05.x for 24.05.06 (In reply to Wainui Witika-Park from comment #6) > Backported to 24.05.x for 24.05.06 Depends on Bug 35402 not in 24.05.x You may have to revert. (In reply to Fridolin Somers from comment #7) > (In reply to Wainui Witika-Park from comment #6) > > Backported to 24.05.x for 24.05.06 > > Depends on Bug 35402 not in 24.05.x > You may have to revert. Thanks, reverted from 24.05 |