Bugzilla – Attachment 192900 Details for
Bug 41807
Fix automatic tab selection on basket groups page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41807: Fix automatic tab selection on basket groups page
Bug-41807-Fix-automatic-tab-selection-on-basket-gr.patch (text/plain), 1.92 KB, created by
Owen Leonard
on 2026-02-10 13:30:05 UTC
(
hide
)
Description:
Bug 41807: Fix automatic tab selection on basket groups page
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2026-02-10 13:30:05 UTC
Size:
1.92 KB
patch
obsolete
>From 1eb4aa370941801c3d95278bc828feb62d4b39de Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 10 Feb 2026 08:20:07 -0500 >Subject: [PATCH] Bug 41807: Fix automatic tab selection on basket groups page > >This patch fixes the JS in the basket groups template which is intended >to select the "Closed" tab when a "listclosed" parameter is passed. > >To test, apply the patch and go to Acquisitions. > >- Search for and view a vendor. >- Click "Basket groups" in the sidebar. >- Create a new basket group if necessary. >- Click "Delete" to remove the basket group. >- When the page reloads the "Closed" tab should be selected. >- Create a new basket group if necessary and click "Close and export as > PDF." When the page reloads the "Closed" tab should be selected. >- Click "Reopen." The "Closed" tab should again be selected. > >The patch doesn't make any changes to existing behavior but I think we >should re-evaluate whether the "Closed" tab is the right place to go >after deleting or reopening a basket group. > >Sponsored-by: Athens County Public Libraries >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt >index 69e0f5eeda4..c0c59799d4c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt >@@ -424,9 +424,9 @@ > > $(document).ready(function () { > if (listclosed) { >- $("#basket_groups a[href='#closed']").tab("show"); >+ $("#basket_groups a[href='#closed_panel']").tab("show"); > } else { >- $("#basket_groups a[href='#opened']").tab("show"); >+ $("#basket_groups a[href='#opened_panel']").tab("show"); > } > > if (!grouping) { >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 41807
: 192900