Bugzilla – Attachment 89476 Details for
Bug 22790
The system preference itemBarcodeInputFilter is not applied for barcodes inputed via SIP2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22790: The system preference itemBarcodeInputFilter is not applied for barcodes inputed via SIP2
Bug-22790-The-system-preference-itemBarcodeInputFi.patch (text/plain), 1.02 KB, created by
Jonathan Druart
on 2019-05-08 15:28:56 UTC
(
hide
)
Description:
Bug 22790: The system preference itemBarcodeInputFilter is not applied for barcodes inputed via SIP2
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2019-05-08 15:28:56 UTC
Size:
1.02 KB
patch
obsolete
>From 94d9233e1592a3b7485a121a0a988bd80aec5abe Mon Sep 17 00:00:00 2001 >From: Andreas Jonsson <andreas.jonsson@kreablo.se> >Date: Fri, 26 Apr 2019 19:44:59 +0000 >Subject: [PATCH] Bug 22790: The system preference itemBarcodeInputFilter is > not applied for barcodes inputed via SIP2 > >Signed-off-by: Liz Rea <wizzyrea@gmail.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > C4/SIP/ILS/Item.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/SIP/ILS/Item.pm b/C4/SIP/ILS/Item.pm >index a974188dd9..3421bda6e9 100644 >--- a/C4/SIP/ILS/Item.pm >+++ b/C4/SIP/ILS/Item.pm >@@ -75,7 +75,7 @@ use Koha::Holds; > sub new { > my ($class, $item_id) = @_; > my $type = ref($class) || $class; >- my $item = Koha::Items->find( { barcode => $item_id } ); >+ my $item = Koha::Items->find( { barcode => barcodedecode( $item_id ) } ); > unless ( $item ) { > syslog("LOG_DEBUG", "new ILS::Item('%s'): not found", $item_id); > warn "new ILS::Item($item_id) : No item '$item_id'."; >-- >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 22790
:
88966
|
89394
| 89476 |
89477