]> git.koha-community.org Git - koha.git/commit
Bug 30406: Add column filters before hiding columns
authorJulian Maurice <julian.maurice@biblibre.com>
Fri, 1 Apr 2022 08:16:09 +0000 (10:16 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 13 Apr 2022 13:55:38 +0000 (15:55 +0200)
commit1ff45fdf85102f7dde749d6b81b5b6905f0fd68c
tree99a46a0c64b6fcc6cd07fd12104f07a9e120a257
parent0200a65d4faef805f7b8dde074f304e4a4177db1
Bug 30406: Add column filters before hiding columns

The code that adds column filters works only on visible columns, so we
should hide columns after filters are created

Test plan:
1. Apply patch
2. Go to Tables settings. Hide city_state for the cities table.
3. Create some cities and go to the cities page
4. Verify that filtering works as expected.
5. Make the city_state column appear. Verify that filtering on this
   column works too

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/js/datatables.js