From f2db89414714c66035dfa5bd958307216d7bb10c 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 Signed-off-by: Pedro Amorim Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize --- .../intranet-tmpl/prog/en/modules/suggestion/suggestion.tt | 5 +---- 1 file changed, 1 insertion(+), 4 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 8b13d4c4c47..a37d78c111e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt @@ -1387,16 +1387,13 @@ } var 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_[% suggestion.suggestiontype | html %]", { "sorting": [[ 4, "asc" ]], "autoWidth": false, - "stateSave": true, - }, updated_settings ); + }, table_settings ); [% END %] [% END %] -- 2.34.1