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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-4 / +3 lines)
Lines 335-343 Link Here
335
335
336
            [% IF Koha.Preference('SeparateHoldingsByGroup') && lib_groups %]
336
            [% IF Koha.Preference('SeparateHoldingsByGroup') && lib_groups %]
337
                [% FOREACH group IN lib_groups %]
337
                [% FOREACH group IN lib_groups %]
338
                    [% IF ( holdings_count.${group.id} > 0 ) %]
338
                    [% IF ( holdings_count_hash.${group.id} > 0 ) %]
339
                        [% WRAPPER tab_item tabname="group_holdings_" _ group.id %]
339
                        [% WRAPPER tab_item tabname="group_holdings_" _ group.id %]
340
                            <span>[% group.title | html %] holdings ([% holdings_count.${group.id} | html %])</span>
340
                            <span>[% group.title | html %] holdings ([% holdings_count_hash.${group.id} | html %])</span>
341
                        [% END %]
341
                        [% END %]
342
                    [% END %]
342
                    [% END %]
343
                [% END %]
343
                [% END %]
Lines 492-498 Link Here
492
            [% END %]
492
            [% END %]
493
            [% IF Koha.Preference('SeparateHoldingsByGroup') && lib_groups %]
493
            [% IF Koha.Preference('SeparateHoldingsByGroup') && lib_groups %]
494
                [% FOREACH group IN lib_groups %]
494
                [% FOREACH group IN lib_groups %]
495
                    [% IF ( holdings_count.${group.id} > 0 ) %]
495
                    [% IF ( holdings_count_hash.${group.id} > 0 ) %]
496
                        [% SET group_tab = "group_holdings_" _ group.id %]
496
                        [% SET group_tab = "group_holdings_" _ group.id %]
497
                        [% WRAPPER tab_panel tabname=group_tab %]
497
                        [% WRAPPER tab_panel tabname=group_tab %]
498
                            [% PROCESS items_table tab=group_tab %]
498
                            [% PROCESS items_table tab=group_tab %]
499
- 

Return to bug 35211