Bugzilla – Attachment 192469 Details for
Bug 41624
Revert Bug 35211
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41624: Revert "Bug 35211: Set SeparateHoldingsByGroup to separate based on SeparateHoldingsBranch syspref"
Bug-41624-Revert-Bug-35211-Set-SeparateHoldingsByG.patch (text/plain), 1.25 KB, created by
Lucas Gass (lukeg)
on 2026-02-04 16:55:41 UTC
(
hide
)
Description:
Bug 41624: Revert "Bug 35211: Set SeparateHoldingsByGroup to separate based on SeparateHoldingsBranch syspref"
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2026-02-04 16:55:41 UTC
Size:
1.25 KB
patch
obsolete
>From 557d4046da77a2a1c1c6aa969be8881d6322034e Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Wed, 4 Feb 2026 16:43:52 +0000 >Subject: [PATCH] Bug 41624: Revert "Bug 35211: Set SeparateHoldingsByGroup to > separate based on SeparateHoldingsBranch syspref" > >This reverts commit d2a0527d86e82ff1edf0c31035f5ac9da232b5fe. >--- > catalogue/detail.pl | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/catalogue/detail.pl b/catalogue/detail.pl >index 7a7bb592dfe..42ec0c3ab9e 100755 >--- a/catalogue/detail.pl >+++ b/catalogue/detail.pl >@@ -368,9 +368,8 @@ if ( C4::Context->preference('SeparateHoldingsByGroup') ) { > # Build group branchcode hash > $branchcode_hash{ $group->id } = \@libs_branchcodes; > >- my $SeparateHoldingsBranch = C4::Context->preference('SeparateHoldingsBranch') || 'homebranch'; > my $group_holdings_count = >- $items_to_display->search( { $SeparateHoldingsBranch => { '-in' => \@libs_branchcodes } } )->count; >+ $items_to_display->search( { homebranch => { '-in' => \@libs_branchcodes } } )->count; > $holdings_count{ $group->id } = $group_holdings_count; > > push @lib_groups, $group; >-- >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 41624
:
191470
|
191471
|
192464
|
192465
|
192466
|
192467
|
192468
|
192469
|
192470
|
192471
|
192472
|
192473
|
192724
|
192725
|
192785
|
192786