Bug 28096: Fix table settings for API datatables wrapper
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 6 Apr 2021 15:56:17 +0000 (17:56 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 21 Apr 2021 08:51:29 +0000 (10:51 +0200)
commit1dcab586427fb2aa1b1c676a4dc2046c202ee671
tree06766470c2cb0bbd16927adf8071052445fb1254
parentc285de980266a23919fe64d26665ccd53355b820
Bug 28096: Fix table settings for API datatables wrapper

Bug 25287 added the table settings to the API datatables wrapper but it does not
handled correctly the hidden columns.

Test plan:
Go to Home > Administration > Table settings
Administration > libraries
Tick "Is hidden by default" for "library_address"
Go to Home > Administration > Libraries
Click Columns and check the "Address" column, it must be hidden

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/js/datatables.js