Bugzilla – Attachment 117184 Details for
Bug 27071
Hold pickup library match not enforced correctly on intranet when using hold groups
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27071: Fix Hold pickup library when using hold groups
Bug-27071-Fix-Hold-pickup-library-when-using-hold-.patch (text/plain), 1016 bytes, created by
David Nind
on 2021-02-23 10:32:56 UTC
(
hide
)
Description:
Bug 27071: Fix Hold pickup library when using hold groups
Filename:
MIME Type:
Creator:
David Nind
Created:
2021-02-23 10:32:56 UTC
Size:
1016 bytes
patch
obsolete
>From 65c37a28e5e29d9df902223adccc8741606e17ee Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 23 Nov 2020 15:49:35 +0100 >Subject: [PATCH] Bug 27071: Fix Hold pickup library when using hold groups > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> > >Signed-off-by: David Nind <david@davidnind.com> >--- > Koha/Library.pm | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/Koha/Library.pm b/Koha/Library.pm >index fc2f4f522e..62ec4ec49c 100644 >--- a/Koha/Library.pm >+++ b/Koha/Library.pm >@@ -247,10 +247,10 @@ sub validate_hold_sibling { > > foreach (@hold_libraries) { > my $hold_library = $_; >- my $is_valid = 1; >+ my $is_valid = 0; > foreach my $key (keys %$params) { >- unless($hold_library->$key eq $params->{$key}) { >- $is_valid=0; >+ if ($hold_library->$key eq $params->{$key}) { >+ $is_valid=1; > last; > } > } >-- >2.11.0
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 27071
:
113928
|
113929
|
113963
|
116599
|
116600
|
116601
|
116602
|
116603
|
117140
|
117141
|
117142
|
117143
|
117144
|
117145
|
117184
|
117185
|
117186
|
117187
|
117188
|
117189
|
117204
|
117205
|
117206
|
117207
|
117208
|
117209