]> 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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Mon, 25 Apr 2022 20:37:13 +0000 (20:37 +0000)
commitffd170d51f80a218a0769aa7a5138d23bdd2508e
tree6f619c0409aba4053d2940af663491c4d4ea2785
parentbc831c17ad45819ab01dd97685cecc862c427643
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>
(cherry picked from commit 37594d77377dc4b0784d497d70aee05977277dee)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/js/datatables.js