Bugzilla – Attachment 183949 Details for
Bug 35211
Make it possible to split holdings tab using library groups in intranet
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35211: Reordered tabs in Holdings Table and fixed group tabnames
Bug-35211-HEAD-Reordered-tabs-in-Holdings-Table-an.patch (text/plain), 2.54 KB, created by
Eric Garcia
on 2025-07-10 16:03:02 UTC
(
hide
)
Description:
Bug 35211: Reordered tabs in Holdings Table and fixed group tabnames
Filename:
MIME Type:
Creator:
Eric Garcia
Created:
2025-07-10 16:03:02 UTC
Size:
2.54 KB
patch
obsolete
>From a92fe6377f4d5ea46ef038ae50a2ea5b96801d72 Mon Sep 17 00:00:00 2001 >From: Eric Garcia <cubingguy714@gmail.com> >Date: Thu, 10 Jul 2025 16:02:08 +0000 >Subject: [PATCH] Bug 35211 HEAD: Reordered tabs in Holdings Table and fixed > group tabnames > >--- > .../prog/en/modules/catalogue/detail.tt | 16 ++++++++++------ > 1 file changed, 10 insertions(+), 6 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 3e2c3309d4..b44d2da74a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -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> >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 35211
:
183075
|
183099
|
183143
|
183144
|
183420
|
183615
|
183642
|
183643
|
183901
|
183945
|
183949
|
183950
|
183966
|
183967
|
183968
|
184016