http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6453

             Bug #: 6453
           Summary: The "Compare barcodes list to results" functionnality
                    of inventory.pl can't find barcodes
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: rel_3_2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Tools
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]


Created attachment 4354
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=4354
Corrects the barcode comparisons in inventory.pl

In /tools/inventory.pl :
If the option "Compare barcodes list to results" is used with a barcodes file
and an item callnumber interval, all found records are shown as "Not found
among barcodes in barcodes file." even if they actually exist in the barcodes
file.

Tested with a barcodes file containing "X00030851" and the interval "N6537 D"
to "N6538 Z" on my instance. The item with the barcode X00030851 was shown in
this interval, but had the value "Not found among barcodes in barcodes file."
in the "Problem" column.

The problem is caused by an incorrect use of the grep function with an array of
hashes.

Patch attached.

-- 
Configure bugmail: 
http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact 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