Koha-clms/tools
Marcel de Rooy c868ccc360 Bug 23006: Cannot use inventory with barcodes containing special chars
If a barcode contains special characters like $, the regex in inventory
does no longer work.
This fix (as suggested by Jonathan) replaces the regex by a eq compare.

Test plan:
Pick one barcode and add a $ somewhere in the middle, say 123$456.
Include this barcode in a barcode file for inventory.
Run inventory on that file and verify that barcode was read and datelastseen
was updated. The barcode should not be reported as missing (not scanned).

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 851d41ab6b)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2019-06-10 16:47:13 +02:00
..
csv-profiles
…
quotes
…
access_files.pl
…
ajax-inventory.pl
…
automatic_item_modification_by_age.pl
…
background-job-progress.pl
…
batchMod.pl
…
batch_delete_records.pl
…
batch_record_modification.pl
…
batch_records_ajax.pl
…
cleanborrowers.pl
…
copy-holidays.pl
…
csv-profiles.pl
…
exceptionHolidays.pl
…
export.pl
…
holidays.pl
…
import_borrowers.pl
…
inventory.pl Bug 23006: Cannot use inventory with barcodes containing special chars 2019-06-10 16:47:13 +02:00
koha-news.pl
…
letter.pl
…
manage-marc-import.pl
…
marc_modification_templates.pl
…
modborrowers.pl
…
newHolidays.pl
…
overduerules.pl
…
picture-upload.pl
…
quotes-upload.pl
…
quotes.pl
…
scheduler.pl
…
showdiffmarc.pl
…
stage-marc-import.pl
…
stockrotation.pl
…
tools-home.pl
…
upload-cover-image.pl
…
upload-file.pl
…
upload.pl
…
viewlog.pl
…