Bug 35648: (follow-up) Clear table filter before submitting
authorOwen Leonard <oleonard@myacpl.org>
Fri, 22 Mar 2024 12:47:22 +0000 (12:47 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Wed, 8 May 2024 16:24:00 +0000 (18:24 +0200)
commit109a1e93dc90bdc77dff55827f7d326d29cbae0f
tree12d2923c58ceb86f06934b0e4b07f039f51ce242
parent2800f7c9fb525783a45306102a1958362a58f771
Bug 35648: (follow-up) Clear table filter before submitting

This patch takes advise from elasticsearch-mappings.js and adds an
onsubmit event to clear any DataTables filter before submitting. This
should prevent hidden fields from being overwritten.

To test, filter the table and make a change to one of the visible rows.
After submitting, confirm that the previously-hidden rows retain the
same settings as before.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt