Bugzilla – Attachment 191870 Details for
Bug 41561
"tab" variable in admin/aqbudgetperiods.pl,tt is not used and should be removed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41561: Remove 'tab' from admin/aqbudgetperiods
Bug-41561-Remove-tab-from-adminaqbudgetperiods.patch (text/plain), 2.01 KB, created by
Owen Leonard
on 2026-01-22 15:24:21 UTC
(
hide
)
Description:
Bug 41561: Remove 'tab' from admin/aqbudgetperiods
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2026-01-22 15:24:21 UTC
Size:
2.01 KB
patch
obsolete
>From e17a805f8a46604cb435a75502621862f4125804 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 8 Jan 2026 10:39:16 +0100 >Subject: [PATCH] Bug 41561: Remove 'tab' from admin/aqbudgetperiods > >commit 4b312b141ab2dddfac5da1034338a1634cb504e4 >CommitDate: Wed Sep 19 16:17:16 2012 +0200 > Bug 8117: Divide budget periods into two tabs > >It was used at the time >+$url = "aqbudgetperiods.pl?tab=2"; > >But this has been removed by >commit 870104ce117f8c4a303107fb24c8c3d2b7a886b0 >Date: Mon Mar 21 09:32:39 2016 -0400 > Bug 13464 - Standardize the pagination class > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > admin/aqbudgetperiods.pl | 2 -- > .../intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt | 4 ---- > 2 files changed, 6 deletions(-) > >diff --git a/admin/aqbudgetperiods.pl b/admin/aqbudgetperiods.pl >index f05fdfb069c..c602cef906f 100755 >--- a/admin/aqbudgetperiods.pl >+++ b/admin/aqbudgetperiods.pl >@@ -308,11 +308,9 @@ foreach my $result ( @{$results} ) { > push( @period_inactive_loop, $budgetperiod ); > } > >-my $tab = $input->param('tab') ? $input->param('tab') - 1 : 0; > $template->param( > period_active_loop => \@period_active_loop, > period_inactive_loop => \@period_inactive_loop, >- tab => $tab, > ); > > $template->param( $op => 1 ); >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt >index 4c7fdd2e715..4d540e1c114 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt >@@ -563,10 +563,6 @@ > [% Asset.js("js/acq.js") | $raw %] > <script> > $(document).ready(function() { >- [% IF ( tab ) %] >- $("#budgetsTabs li:eq([% tab | html %]) a").tab("show"); >- [% END %] >- > let dt_params = { > pagingType: "full", > autoWidth: false, >-- >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 41561
:
191061
|
191870
|
191915