[Koha-bugs] [Bug 28675] QOTD broken in 20.05

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 9 05:21:21 CEST 2021


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

--- Comment #4 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
So. <input> are put in the datatable object by the callback of the "add quote"
button. And the display of a cell must not escape them.

So if we keep the same logic, we have to escape the text from the server but
not the text from the callback of the "add quote" button.

One way to do that is by removing the cell escape and escape the data when the
ajax request comes back.

https://datatables.net/reference/option/ajax
in the example:
«Manipulate the data returned from the server»
So the dataSrc callback look good.

But datatables changed it's way to do ajax request so the above doesn't work
without changing that.
https://datatables.net/manual/server-side#Legacy

If doesn't seem we can't process the received data with old datatatable ajax
method
https://legacy.datatables.net/usage/server-side


That's what I've found so far, in case that helps.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list