We have code for expanding the requested accordion panel on the patrons requesting modifications page which needs to be updated for Bootstrap 5. If no borrowernumber has been passed to the template the first panel should expand by default. If a borrowernumber has been passed, that patron's section should automatically expand.
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
Pushed to 24.05.06