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

(-)a/catalogue/detail.pl (-3 / +4 lines)
Lines 369-377 if ( C4::Context->preference('SeparateHoldingsByGroup') ) { Link Here
369
    }
369
    }
370
370
371
    $template->param(
371
    $template->param(
372
        lib_groups     => \@lib_groups,
372
        lib_groups                 => \@lib_groups,
373
        branchcodes    => \%branchcode_hash,
373
        branchcodes                => \%branchcode_hash,
374
        holdings_count => \%holdings_count,
374
        holdings_count_hash        => \%holdings_count,
375
        total_group_holdings_count => $total_group_holdings_count,
375
    );
376
    );
376
}
377
}
377
378
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-3 / +2 lines)
Lines 322-330 Link Here
322
    [% WRAPPER tabs id= "bibliodetails" %]
322
    [% WRAPPER tabs id= "bibliodetails" %]
323
        [% WRAPPER tabs_nav %]
323
        [% WRAPPER tabs_nav %]
324
            [% IF Koha.Preference('SeparateHoldings') %]
324
            [% IF Koha.Preference('SeparateHoldings') %]
325
                [% IF items_to_display_count - ( other_holdings_count || 0 ) %]
325
                [% IF items_to_display_count - ( other_holdings_count || 0 ) - ( total_group_holdings_count || 0 ) %]
326
                    [% WRAPPER tab_item tabname= "holdings" %]
326
                    [% WRAPPER tab_item tabname= "holdings" %]
327
                        <span>[% Branches.GetLoggedInBranchname | html %] holdings ([% items_to_display_count - ( other_holdings_count || 0 ) - ( hidden_count || 0 ) || 0 | html %])</span>
327
                        <span>[% Branches.GetLoggedInBranchname | html %] holdings ([% items_to_display_count - ( other_holdings_count || 0 ) - ( total_group_holdings_count || 0 ) - ( hidden_count || 0 ) || 0 | html %])</span>
328
                    [% END %]
328
                    [% END %]
329
                [% END %]
329
                [% END %]
330
            [% ELSE %]
330
            [% ELSE %]
331
- 

Return to bug 35211