Bug 31435: Tie 'Configure' to table_settings
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 22 Aug 2022 07:15:34 +0000 (08:15 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 7 Sep 2022 19:07:56 +0000 (12:07 -0700)
commit37c5cfb258ab5e953d2138c5adba3b4e6af1aead
treed524a06f820c2c013b6961394f06fd1a6937f047
parentce1efe7de0d71362f930a8fc5415fda797531a0b
Bug 31435: Tie 'Configure' to table_settings

This patch adds a check for table_settings to prevent the display of
'Configure this table' when table settings are not passed to the
datatable wrapper.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Suggested test plan:
* Without patch:
* Go to Administration > SMTP servers
* Verify the configure button shows, but doesn't work
* Apply patch
* Reload the SMTP servers page
* The configure button will no longer show

Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc
koha-tmpl/intranet-tmpl/prog/js/datatables.js