Bugzilla – Attachment 92739 Details for
Bug 15497
Limit item types by library
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15497: (QA follow-up) Fix call in search_with_localization
Bug-15497-QA-follow-up-Fix-call-in-searchwithlocal.patch (text/plain), 972 bytes, created by
Martin Renvoize (ashimema)
on 2019-09-12 15:22:35 UTC
(
hide
)
Description:
Bug 15497: (QA follow-up) Fix call in search_with_localization
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2019-09-12 15:22:35 UTC
Size:
972 bytes
patch
obsolete
>From 50f894bdd22dd5300f40d9171b1f9e845d684842 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Thu, 12 Sep 2019 11:50:40 -0300 >Subject: [PATCH] Bug 15497: (QA follow-up) Fix call in > search_with_localization > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > Koha/ItemTypes.pm | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/Koha/ItemTypes.pm b/Koha/ItemTypes.pm >index f8c53e9bd3..1fa76df2fd 100644 >--- a/Koha/ItemTypes.pm >+++ b/Koha/ItemTypes.pm >@@ -56,7 +56,8 @@ sub search_with_localization { > } > ]; > if(defined $params->{branchcode}) { >- $self->search_with_library_limits( $params, $attributes ); >+ my $branchcode = delete $params->{branchcode}; >+ $self->search_with_library_limits( $params, $attributes, $branchcode ); > } else { > $self->SUPER::search( $params, $attributes ); > } >-- >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 15497
:
91377
|
91378
|
91379
|
91446
|
91450
|
91451
|
91452
|
91469
|
92725
|
92726
|
92727
|
92728
|
92732
|
92735
|
92736
|
92737
|
92738
|
92739
|
92741
|
92742
|
92743
|
92744
|
92745