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

--- Comment #46 from Brendan Lawlor <[email protected]> ---
Created attachment 210679
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=210679&action=edit
Bug 27248: (QA follow-up) Chomp spaces and add explicit newline between
barcodes

When BarcodeSeparators did not include '\s' (e.g. only '\n'),
barcodes passed from report batch operations were joined with spaces,
instead of newlines that the tool requires.

This patch explicitly separates barcodes with a newline and chomps
all whitespace in the textarea.

Test plan:
1. Set BarcodeSeparators to '\n'
2. Check out a few items
3. Create a report: SELECT * FROM issues
4. Run it, choose Batch operations -> Batch extend due dates
5. Confirm each barcode is on its own line in the barcode list
6. Set a hard due date or number of days and submit
7. Confirm no "Barcodes not found" warning and due dates are updated

Sponsored-by: CLAMS

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to