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

--- Comment #3 from Julian Maurice <julian.maur...@biblibre.com> ---
Created attachment 126266
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=126266&action=edit
Bug 22204: Remove whitespaces in barcode before saving

Test plan:
1. Create an item with barcode "1"
2. Try to create an item with barcode "   1   " and verify that it is
   blocked
3. Create an item with barcode "  XXXXX  " and verify that it is saved
   without spaces in database:
   SELECT barcode FROM items WHERE barcode LIKE '%XXXXX%'

Co-authored-by: Jérémy Breuillard <jeremy.breuill...@biblibre.com>

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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