View | Details | Raw Unified | Return to bug 33484
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt (-6 / +1 lines)
Lines 1368-1383 Link Here
1368
                }
1368
                }
1369
1369
1370
                table_settings = [% TablesSettings.GetTableSettings( 'acqui', 'suggestions', 'suggestions', 'json' ) | $raw %]
1370
                table_settings = [% TablesSettings.GetTableSettings( 'acqui', 'suggestions', 'suggestions', 'json' ) | $raw %]
1371
                var saved_table = localStorage.getItem("DataTables_suggestions_/cgi-bin/koha/suggestion/suggestion.pl");
1372
                var updated_settings = get_columns_saved_state(saved_table, table_settings);
1373
1374
                [% FOREACH suggestion IN suggestions %]
1371
                [% FOREACH suggestion IN suggestions %]
1375
                    [% IF suggestion.suggestions.size %]
1372
                    [% IF suggestion.suggestions.size %]
1376
                        KohaTable("table_[% loop.count| html %]", {
1373
                        KohaTable("table_[% loop.count| html %]", {
1377
                            "sorting": [[ 3, "asc" ]],
1374
                            "sorting": [[ 3, "asc" ]],
1378
                            "autoWidth": false,
1375
                            "autoWidth": false,
1379
                            "stateSave": true,
1376
                        }, table_settings );
1380
                        }, updated_settings );
1381
                    [% END %]
1377
                    [% END %]
1382
                [% END %]
1378
                [% END %]
1383
1379
1384
- 

Return to bug 33484