Bugzilla – Attachment 88966 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), 928 bytes, created by
Andreas Jonsson
on 2019-04-26 19:46:35 UTC
(
hide
)
Description:
Bug 22790: The system preference itemBarcodeInputFilter is not applied for barcodes inputed via SIP2
Filename:
MIME Type:
Creator:
Andreas Jonsson
Created:
2019-04-26 19:46:35 UTC
Size:
928 bytes
patch
obsolete
>From 2730efa26725177f1e72db46881fd9e088c6c374 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 > >--- > 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 240e1990a0..b959106785 100644 >--- a/C4/SIP/ILS/Item.pm >+++ b/C4/SIP/ILS/Item.pm >@@ -74,7 +74,7 @@ use Koha::Items; > 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