From 580eda9e8d19fa6434d7f7bb8c8eddd50152c177 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 11 Apr 2023 15:15:52 +0100 Subject: [PATCH] Bug 33484: Revert template change on suggestion.tt This reverts commit 2b0693dbfd6aa2dd2c7c91428b23aba717ccc0af as it's no longer required once we globalise the logic as we do in this patchset --- .../intranet-tmpl/prog/en/modules/suggestion/suggestion.tt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt index 47b9382274..bb1efb003e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt @@ -1368,16 +1368,12 @@ } table_settings = [% TablesSettings.GetTableSettings( 'acqui', 'suggestions', 'suggestions', 'json' ) | $raw %] - var saved_table = localStorage.getItem("DataTables_suggestions_/cgi-bin/koha/suggestion/suggestion.pl"); - var updated_settings = get_columns_saved_state(saved_table, table_settings); - [% FOREACH suggestion IN suggestions %] [% IF suggestion.suggestions.size %] KohaTable("table_[% loop.count| html %]", { "sorting": [[ 3, "asc" ]], "autoWidth": false, - "stateSave": true, - }, updated_settings ); + }, table_settings ); [% END %] [% END %] -- 2.40.0