Bug 27402: Move to datatables.js
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 11 Jan 2021 13:19:23 +0000 (14:19 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 28 Jan 2021 15:41:22 +0000 (16:41 +0100)
commit29d5e8c5a57c159872d320a9f1eb200e9e1d7ff7
treeb4cc0641962384e4aebc799b457ecac28e69b83e
parent829d193a1aee8492336c300b2314473420f7bb80
Bug 27402: Move to datatables.js

To make it reusable we need to move the code to datatables.js

So far only the cities table is using the column filters so there is no other
view to test.

Note that the existing implementation didn't work at all, and were base
on what is done on the detail.pl page (using table_filters.js)

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt
koha-tmpl/intranet-tmpl/prog/js/datatables.js