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

--- Comment #1 from Tomás Cohen Arazi (tcohen) <[email protected]> ---
Created attachment 203493
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203493&action=edit
Bug 41631: Use Koha::CSV for lost items exports

This patch replaces Text::CSV::Encoded with Koha::CSV in
reports/itemslost.pl using the low-level API.

The sep_char from the CSV profile is passed through to Koha::CSV.

Benefits:
- formula => empty enforced (prevents formula injection)
- binary => 1 always set (UTF-8 safe)
- Removes Text::CSV::Encoded dependency and Encode::decode wrapping
- Removes explicit \n handling (eol handled by Koha::CSV)

Test plan:
1. Apply patches (depends on bug 41620)
2. Go to Reports > Lost items
3. Select items and export as CSV
=> SUCCESS: CSV generated with correct profile columns
4. Sign off :-D

-- 
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