Koha/virtualshelves
Andrii Veremeienko 1e54d08e64 Bug 29114: Trim whitespace before the barcode
The solution was to add regexp that trims all whitespaces.

How to test:
1. Go to the koha/virtualshelves/shelves.pl;
2. Add new list or edit existing one;
3. Start adding new items;
4. In the "Barcode" field add barcode(s) with whitespaces before them;
5. Observe that it wasn't added as the barcode isn't recognized because of whitespaces;
6. Apply the patch;
7. Repeat step 4;
8. Observe that the item was successfully added;

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit c4ee39bf3a)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2022-08-23 19:29:20 +00:00
..
addbybiblionumber.pl Bug 28959: Fix other cases 2021-10-28 17:47:38 +02:00
downloadshelf.pl Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
sendshelf.pl Bug 29542: Prevent access to private list to non authorized users 2022-02-02 21:05:29 -10:00
shelves.pl Bug 29114: Trim whitespace before the barcode 2022-08-23 19:29:20 +00:00