From d3f4b50bdd476160d026012154c9f3463b94d37e Mon Sep 17 00:00:00 2001 From: Andreas Jonsson 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 Signed-off-by: Jonathan Druart Signed-off-by: Nick Clemens --- 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.39.5