https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19814
--- Comment #157 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 211908 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211908&action=edit Bug 19814: (follow-up) Honour BarcodeSeparators and print hold slips in batch mode The barcodes of a batch are now separated by the characters of the BarcodeSeparators preference, as in the batch modification and inventory tools, so barcodes that contain a space or a comma can be checked in. The preference is delivered to the page through the checkin policy (barcode_separators), and the default of the preference, whitespace, applies when it is empty. With HoldsAutoFillPrintSlip, the slips of the holds that were filled by HoldsAutoFill or captured by 'Automatically capture holds' are printed one after the other when the batch is done. They are loaded in a hidden frame, as a batch would have its popups blocked after the first slip. Test plan: 1. Set BarcodeSeparators to \r\n and give a checked out item a barcode with a space in it 2. Go to Circulation > Check in, click the 'Batch' tab, paste that barcode and click 'Check in' => The item is checked in as one barcode 3. Set BarcodeSeparators back to \s\r\n and check the item out again 4. Check it in again from the Batch tab => The barcode is split in two at the space, and both parts are reported as failed 5. Set HoldsAutoFillPrintSlip to 'Do', put a hold on two checked out items for pickup at your library 6. Check both items in on the Batch tab with 'Automatically capture holds' ticked => A slip is printed for each hold, one after the other 7. Untick 'Automatically capture holds' and set HoldsAutoFillPrintSlip to "Don't"; repeat => No slip is printed 8. Run $ prove t/db_dependent/Koha/Module/Policy/Checkin.t $ npx cypress run --spec t/cypress/integration/Circulation/CheckinBatch_spec.ts 9. Sign off :-D Co-Authored-By: Claude Sonnet 5.5 <[email protected]> -- 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/
