]> 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)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 15 Apr 2022 11:36:30 +0000 (07:36 -0400)
commit37594d77377dc4b0784d497d70aee05977277dee
treec9a0296073e9632f13e8f863ff9cbbc47116f7d4
parent4caac3189ec9b45337677b710caa6e4737eedc93
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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/js/datatables.js