Bugzilla – Attachment 185528 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: Fixed count on logged in holdings
Bug-35211-Fixed-count-on-logged-in-holdings.patch (text/plain), 2.29 KB, created by
Lisette Scheer
on 2025-08-18 21:10:08 UTC
(
hide
)
Description:
Bug 35211: Fixed count on logged in holdings
Filename:
MIME Type:
Creator:
Lisette Scheer
Created:
2025-08-18 21:10:08 UTC
Size:
2.29 KB
patch
obsolete
>From 90df186e4832ad051eb9d7b392c17ce75ed67dec Mon Sep 17 00:00:00 2001 >From: Eric Garcia <cubingguy714@gmail.com> >Date: Thu, 10 Jul 2025 19:53:40 +0000 >Subject: [PATCH] Bug 35211: Fixed count on logged in holdings > >Signed-off-by: Lisette Scheer <lisette@bywatersolutions.com> >--- > catalogue/detail.pl | 7 ++++--- > .../intranet-tmpl/prog/en/modules/catalogue/detail.tt | 4 ++-- > 2 files changed, 6 insertions(+), 5 deletions(-) > >diff --git a/catalogue/detail.pl b/catalogue/detail.pl >index d6cdca76318..bc0b80803f5 100755 >--- a/catalogue/detail.pl >+++ b/catalogue/detail.pl >@@ -369,9 +369,10 @@ if ( C4::Context->preference('SeparateHoldingsByGroup') ) { > } > > $template->param( >- lib_groups => \@lib_groups, >- branchcodes => \%branchcode_hash, >- holdings_count => \%holdings_count, >+ lib_groups => \@lib_groups, >+ branchcodes => \%branchcode_hash, >+ holdings_count_hash => \%holdings_count, >+ total_group_holdings_count => $total_group_holdings_count, > ); > } > >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 2319c2c813a..8a016ceaaba 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -322,9 +322,9 @@ > [% WRAPPER tabs id= "bibliodetails" %] > [% WRAPPER tabs_nav %] > [% IF Koha.Preference('SeparateHoldings') %] >- [% IF items_to_display_count - ( other_holdings_count || 0 ) %] >+ [% IF items_to_display_count - ( other_holdings_count || 0 ) - ( total_group_holdings_count || 0 ) %] > [% WRAPPER tab_item tabname= "holdings" %] >- <span>[% Branches.GetLoggedInBranchname | html %] holdings ([% items_to_display_count - ( other_holdings_count || 0 ) - ( hidden_count || 0 ) || 0 | html %])</span> >+ <span>[% Branches.GetLoggedInBranchname | html %] holdings ([% items_to_display_count - ( other_holdings_count || 0 ) - ( total_group_holdings_count || 0 ) - ( hidden_count || 0 ) || 0 | html %])</span> > [% END %] > [% END %] > [% ELSE %] >-- >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
|
185336
|
185515
|
185525
|
185526
|
185527
| 185528 |
185529
|
185530
|
185531