https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29114

--- Comment #1 from Andrii Veremeienko <[email protected]> ---
Created attachment 125369
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=125369&action=edit
Bug 29114: Trim whitespace before the barcode

The solution was to add regexp which trimming 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;

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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