View | Details | Raw Unified | Return to bug 41561
Collapse All | Expand All

(-)a/admin/aqbudgetperiods.pl (-2 lines)
Lines 308-318 foreach my $result ( @{$results} ) { Link Here
308
    push( @period_inactive_loop, $budgetperiod );
308
    push( @period_inactive_loop, $budgetperiod );
309
}
309
}
310
310
311
my $tab = $input->param('tab') ? $input->param('tab') - 1 : 0;
312
$template->param(
311
$template->param(
313
    period_active_loop   => \@period_active_loop,
312
    period_active_loop   => \@period_active_loop,
314
    period_inactive_loop => \@period_inactive_loop,
313
    period_inactive_loop => \@period_inactive_loop,
315
    tab                  => $tab,
316
);
314
);
317
315
318
$template->param( $op => 1 );
316
$template->param( $op => 1 );
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt (-5 lines)
Lines 563-572 Link Here
563
    [% Asset.js("js/acq.js") | $raw %]
563
    [% Asset.js("js/acq.js") | $raw %]
564
    <script>
564
    <script>
565
        $(document).ready(function() {
565
        $(document).ready(function() {
566
            [% IF ( tab ) %]
567
                $("#budgetsTabs li:eq([% tab | html %]) a").tab("show");
568
            [% END %]
569
570
            let dt_params = {
566
            let dt_params = {
571
                pagingType: "full",
567
                pagingType: "full",
572
                autoWidth: false,
568
                autoWidth: false,
573
- 

Return to bug 41561