From 4107fd48a4ba336f4b463bc5ad24ffee03aa0eca Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 19 Nov 2024 15:15:49 +0100 Subject: [PATCH] Bug 38482: Deactivate 'save state' for holdings tables This is too complicated (at least for 24.11.00) to have everything works in all situations. This table has this specific "hide when empty" behaviour which complicated how we deal with/restore the state --- .../intranet-tmpl/prog/en/modules/admin/columns_settings.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt index 98edb897376..01de61d112f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt @@ -150,7 +150,7 @@ [% END %] [%# No other exceptions should be added here! %] - [% IF modulename != 'opac' && pagename != 'itemsearch' %] + [% IF modulename != 'opac' && pagename != 'itemsearch' && tablename != 'holdings_table' && tablename != 'otherholdings_table' %]

[% SET option_name = pagename _ "|" _ tablename _ "_default_save_state" %] -- 2.34.1