Koha/koha-tmpl/intranet-tmpl/prog
lmstrand 4509614561
Bug 35396: Replace Datatables' column filters throttling with input timeout
This patch replaces throttling filter events with a typing timeout for datatable filtering events. This patch should increase filtering responsiveness to datatables that have column filtering enabled across Koha.

To test:
1) Get a datatable with multiple results showing in intranet, for example search patrons with no search string to get all patrons in a filterable datatable result view or open Receive orders page that shows pending orders and order lines in Acquisitions like /cgi-bin/koha/acqui/parcel.pl?invoiceid=xxx
2) Type a character into a Datatable column filtering field
=> notice a filtering event fires right after the first character has been entered
3) Keep typing
=> notice multiple sequential filtering events being fired during the typing and one at the end when typing has stopped
4) Apply patch
5) Start typing into a filtering field
=> Note that during typing no filtering events are being fired unless the time between entering characters exceeds 500ms
6) End typing into the filter field
=> notice that just one filtering event fires at the end of typing if characters were entered sequentially faster than 500ms apart.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-01-29 12:25:04 +01:00
..
css Bug 34913: (follow-up) Make sure default DataTables sorting style is always overridden 2024-01-26 15:13:42 +01:00
en Bug 35530: Tell UserCSS and UserJS in libraries administration are for OPAC 2024-01-29 12:25:03 +01:00
img Bug 30952: Change circulation home page links to buttons 2022-10-12 16:14:03 -03:00
js Bug 35396: Replace Datatables' column filters throttling with input timeout 2024-01-29 12:25:04 +01:00
pdf Bug 31257: Add a new English 1 page layout to export basketgroup 2022-10-11 10:44:10 -03:00
sound