From 3f607ab75af58631d211ff23aa56065e1e67a523 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Wed, 4 Feb 2026 16:44:37 +0000 Subject: [PATCH] Bug 41624: Revert "Bug 35211: Reordered tabs in Holdings Table and fixed group tabnames" This reverts commit 5c2b0fd49689b4bdaa392fc165a8fc97c1fafa1e. --- .../prog/en/modules/catalogue/detail.tt | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index 8fa1175bd1e..51cbacab4f9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -340,30 +340,26 @@ [% Branches.GetLoggedInBranchname | html %] holdings ([% items_to_display_count - ( other_holdings_count || 0 ) - ( hidden_count || 0 ) || 0 | html %]) [% END %] [% END %] + [% IF other_holdings_count %] + [% WRAPPER tab_item tabname= "otherholdings" %] + Other holdings ([% other_holdings_count || 0 | html %]) + [% END %] + [% END %] [% ELSE %] [% WRAPPER tab_item tabname= "holdings" %] Holdings ([% items_to_display_count || 0 | html %]) [% END %] [% END %] - [% IF Koha.Preference('SeparateHoldingsByGroup') && lib_groups %] [% FOREACH group IN lib_groups %] [% IF ( holdings_count.${group.id} > 0 ) %] [% WRAPPER tab_item tabname="group_holdings_" _ group.id %] - [% group.title | html %] holdings ([% holdings_count.${group.id} | html %]) + [% group.title | html %] - Group ([% holdings_count.${group.id} | html %]) [% END %] [% END %] [% END %] [% END %] - [% IF Koha.Preference('SeparateHoldings') %] - [% IF other_holdings_count %] - [% WRAPPER tab_item tabname= "otherholdings" %] - Other holdings ([% other_holdings_count || 0 | html %]) - [% END %] - [% END %] - [% END %] - [% IF Koha.Preference('EnableItemGroups') %] [% WRAPPER tab_item tabname= "item_groups" %] Item groups -- 2.39.5