Bug 35211: Reordered tabs in Holdings Table and fixed group tabnames

Signed-off-by: Lisette Scheer <lisette@bywatersolutions.com>
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Eric Garcia 2025-07-10 16:02:08 +00:00 committed by Lucas Gass
parent 08045c8009
commit 5c2b0fd496
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 10 additions and 6 deletions

View File

@ -327,26 +327,30 @@
<span>[% Branches.GetLoggedInBranchname | html %] holdings ([% items_to_display_count - ( other_holdings_count || 0 ) - ( hidden_count || 0 ) || 0 | html %])</span>
[% END %]
[% END %]
[% IF other_holdings_count %]
[% WRAPPER tab_item tabname= "otherholdings" %]
<span>Other holdings ([% other_holdings_count || 0 | html %])</span>
[% END %]
[% END %]
[% ELSE %]
[% WRAPPER tab_item tabname= "holdings" %]
<span>Holdings ([% items_to_display_count || 0 | html %])</span>
[% 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 %]
<span>[% group.title | html %] - Group ([% holdings_count.${group.id} | html %])</span>
<span>[% group.title | html %] holdings ([% holdings_count.${group.id} | html %])</span>
[% END %]
[% END %]
[% END %]
[% END %]
[% IF Koha.Preference('SeparateHoldings') %]
[% IF other_holdings_count %]
[% WRAPPER tab_item tabname= "otherholdings" %]
<span>Other holdings ([% other_holdings_count || 0 | html %])</span>
[% END %]
[% END %]
[% END %]
[% IF Koha.Preference('EnableItemGroups') %]
[% WRAPPER tab_item tabname= "item_groups" %]
<span>Item groups</span>