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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-4 / +3 lines)
Lines 348-356 Link Here
348
348
349
            [% IF Koha.Preference('SeparateHoldingsByGroup') && lib_groups %]
349
            [% IF Koha.Preference('SeparateHoldingsByGroup') && lib_groups %]
350
                [% FOREACH group IN lib_groups %]
350
                [% FOREACH group IN lib_groups %]
351
                    [% IF ( holdings_count_hash.${group.id} > 0 ) %]
351
                    [% IF ( holdings_count.${group.id} > 0 ) %]
352
                        [% WRAPPER tab_item tabname="group_holdings_" _ group.id %]
352
                        [% WRAPPER tab_item tabname="group_holdings_" _ group.id %]
353
                            <span>[% group.title | html %] holdings ([% holdings_count_hash.${group.id} | html %])</span>
353
                            <span>[% group.title | html %] holdings ([% holdings_count.${group.id} | html %])</span>
354
                        [% END %]
354
                        [% END %]
355
                    [% END %]
355
                    [% END %]
356
                [% END %]
356
                [% END %]
Lines 505-511 Link Here
505
            [% END %]
505
            [% END %]
506
            [% IF Koha.Preference('SeparateHoldingsByGroup') && lib_groups %]
506
            [% IF Koha.Preference('SeparateHoldingsByGroup') && lib_groups %]
507
                [% FOREACH group IN lib_groups %]
507
                [% FOREACH group IN lib_groups %]
508
                    [% IF ( holdings_count_hash.${group.id} > 0 ) %]
508
                    [% IF ( holdings_count.${group.id} > 0 ) %]
509
                        [% SET group_tab = "group_holdings_" _ group.id %]
509
                        [% SET group_tab = "group_holdings_" _ group.id %]
510
                        [% WRAPPER tab_panel tabname=group_tab %]
510
                        [% WRAPPER tab_panel tabname=group_tab %]
511
                            [% PROCESS items_table tab=group_tab %]
511
                            [% PROCESS items_table tab=group_tab %]
512
- 

Return to bug 41624