Bugzilla – Attachment 113928 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), 912 bytes, created by
Jonathan Druart
on 2020-11-23 14:53:14 UTC
(
hide
)
Description:
Bug 27071: Fix Hold pickup library when using hold groups
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-11-23 14:53:14 UTC
Size:
912 bytes
patch
obsolete
>From 21aadbfb9bcab46a528a8b00eb8dd2af0c839d23 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 > >--- > Koha/Library.pm | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/Koha/Library.pm b/Koha/Library.pm >index b69fdaaeab..19cbcb0121 100644 >--- a/Koha/Library.pm >+++ b/Koha/Library.pm >@@ -244,10 +244,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.20.1
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