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

--- Comment #33 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 189302
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=189302&action=edit
Bug 41151: Revert multi-value display and export formatting changes

This reverts commits:
- 042b0e90bab "Bug 41151: Preserve multi-value formatting in datatable exports"
- dc280faea41 "Bug 41151: Display multi-value additional fields as lists in
datatables"

These commits attempted to improve the display of multi-value additional
fields in datatables by rendering them as lists and preserving newlines
in exports. However, the implementation conflicted with existing
DataTables export button formatting that strips newlines for security
reasons (Bug 37727).

The root issue is that Koha currently uses:
- datatables.net-buttons 2.3.4 (from Feb 2023)
- datatables.net-vue3 2.0.0 (requires DataTables 1.x)

Native support for escapeExcelFormula (which would allow proper newline
handling) requires:
- datatables.net-buttons 3.2.0+ (introduced escapeExcelFormula)
- datatables.net-vue3 3.x (for DataTables 2.x compatibility)

This revert allows us to:
1. Create a separate bug for upgrading DataTables to version 2.x with
   Buttons 3.x for native formula escaping and better export handling
2. Re-implement the multi-value display feature with proper export
   support once the DataTables upgrade is complete

The reverted functionality will be restored in future patches once the
underlying DataTables infrastructure is upgraded.

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