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> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
503842ac6c
commit
d3f4b50bdd
1 changed files with 1 additions and 1 deletions
|
@ -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'.";
|
||||
|
|
Loading…
Reference in a new issue