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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to