Bugzilla – Attachment 191061 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
fa20887.patch (text/plain), 1.96 KB, created by
Jonathan Druart
on 2026-01-09 13:20:21 UTC
(
hide
)
Description:
Bug 41561: Remove 'tab' from admin/aqbudgetperiods
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2026-01-09 13:20:21 UTC
Size:
1.96 KB
patch
obsolete
>From fa20887bba7b6f718dd37740f83311478e964692 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 >--- > 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 a0fc1b86974..7504480e77c 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.43.0 >
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