Bugzilla – Attachment 185531 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 group tab item building logic
Bug-35211-Fixed-group-tab-item-building-logic.patch (text/plain), 1.53 KB, created by
Lisette Scheer
on 2025-08-18 21:10:19 UTC
(
hide
)
Description:
Bug 35211: Fixed group tab item building logic
Filename:
MIME Type:
Creator:
Lisette Scheer
Created:
2025-08-18 21:10:19 UTC
Size:
1.53 KB
patch
obsolete
>From c05af33ee912b0edc42f13ee700eccc6f09d3696 Mon Sep 17 00:00:00 2001 >From: Eric Garcia <cubingguy714@gmail.com> >Date: Mon, 18 Aug 2025 14:08:12 +0000 >Subject: [PATCH] Bug 35211: Fixed group tab item building logic > >Changed to show logged in branch in group tabs > >Test Plan: >1. Apply patch, restart_all, updatedatabase >2. Koha Administration -> System preferences -> SeparateHoldingsByGroup >3. Change to "Separate holdings by library group in subsequent tabs..." and Save >4. Koha Administration -> Library Groups >5. Create multiple library groups and check the 'Use for staff search groups' box. >6. Add your logged in library to each group and other libraries to each group. >7. Do catalog searches where the location of the item is a library in a library group >8. Notice tabs in the Holdings table for each library group if it contains a library that has the item > >Signed-off-by: Lisette Scheer <lisette@bywatersolutions.com> >--- > catalogue/detail.pl | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/catalogue/detail.pl b/catalogue/detail.pl >index 7c69fd6916d..bc72d92bf7a 100755 >--- a/catalogue/detail.pl >+++ b/catalogue/detail.pl >@@ -349,7 +349,9 @@ if ( C4::Context->preference('SeparateHoldingsByGroup') ) { > > # Get other libraries in group > my @other_libs = grep { $_->branchcode ne $branchcode } @all_libs; >+ > my @libs_branchcodes; >+ push @libs_branchcodes, $branchcode; > > foreach my $lib (@other_libs) { > push @libs_branchcodes, $lib->branchcode; >-- >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