[Bug 18659] New: Barcode input filter not taken into consideration with batch
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18659 Bug ID: 18659 Summary: Barcode input filter not taken into consideration with batch Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Circulation Assignee: koha-bugs@lists.koha-community.org Reporter: philippe.blouin@inlibro.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@gmail.com circulation.pl was modified to handle barcode batches, but the code modifying the barcode is isolated and does not modify the batch. for my $barcode ( @$barcodes ) { $barcode =~ s/^\s*|\s*$//g; # remove leading/trailing whitespace $barcode = barcodedecode($barcode) if( $barcode && C4::Context->preference('itemBarcodeInputFilter')); } The local $barcode is modified, but not the array content. The issuing code later on just start with @$barcodes again, not with $barcode, so the modif is not even considered when using one barcode. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18659 Blou <philippe.blouin@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |philippe.blouin@inlibro.com |ity.org | CC| |philippe.blouin@inlibro.com Patch complexity|--- |Small patch -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18659 Blou <philippe.blouin@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|NEW |RESOLVED --- Comment #1 from Blou <philippe.blouin@inlibro.com> --- Ok, this is a code 18. In normal circumstances (code not modified), would not happen. Code is ok. I would close it if I could, but can't. So here, Resolved-Invalid. Hope it's ok. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org