Created attachment 4354 [details] [review] 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.
Created attachment 4483 [details] [review] [SIGNED-OFF] Corrects the barcode comparisons in inventory.pl Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Pushed to master please test
Barcodes from my file were correctly found. Marking fixed!