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

(-)a/catalogue/detail.pl (-4 / +3 lines)
Lines 378-387 if ( C4::Context->preference('SeparateHoldingsByGroup') ) { Link Here
378
    }
378
    }
379
379
380
    $template->param(
380
    $template->param(
381
        lib_groups                 => \@lib_groups,
381
        lib_groups     => \@lib_groups,
382
        branchcodes                => \%branchcode_hash,
382
        branchcodes    => \%branchcode_hash,
383
        holdings_count_hash        => \%holdings_count,
383
        holdings_count => \%holdings_count,
384
        total_group_holdings_count => $total_group_holdings_count,
385
    );
384
    );
386
}
385
}
387
386
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-3 / +2 lines)
Lines 335-343 Link Here
335
    [% WRAPPER tabs id= "bibliodetails" %]
335
    [% WRAPPER tabs id= "bibliodetails" %]
336
        [% WRAPPER tabs_nav %]
336
        [% WRAPPER tabs_nav %]
337
            [% IF Koha.Preference('SeparateHoldings') %]
337
            [% IF Koha.Preference('SeparateHoldings') %]
338
                [% IF items_to_display_count - ( other_holdings_count || 0 ) - ( total_group_holdings_count || 0 ) %]
338
                [% IF items_to_display_count - ( other_holdings_count || 0 ) %]
339
                    [% WRAPPER tab_item tabname= "holdings" %]
339
                    [% WRAPPER tab_item tabname= "holdings" %]
340
                        <span>[% Branches.GetLoggedInBranchname | html %] holdings ([% items_to_display_count - ( other_holdings_count || 0 ) - ( total_group_holdings_count || 0 ) - ( hidden_count || 0 ) || 0 | html %])</span>
340
                        <span>[% Branches.GetLoggedInBranchname | html %] holdings ([% items_to_display_count - ( other_holdings_count || 0 ) - ( hidden_count || 0 ) || 0 | html %])</span>
341
                    [% END %]
341
                    [% END %]
342
                [% END %]
342
                [% END %]
343
            [% ELSE %]
343
            [% ELSE %]
344
- 

Return to bug 41624