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> Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
f438535b5c
commit
23eb2dbd39
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue