Lines 1368-1379
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 |
|
1371 |
[% FOREACH suggestion IN suggestions %] |
1374 |
[% FOREACH suggestion IN suggestions %] |
1372 |
[% IF suggestion.suggestions.size %] |
1375 |
[% IF suggestion.suggestions.size %] |
1373 |
KohaTable("table_[% loop.count| html %]", { |
1376 |
KohaTable("table_[% loop.count| html %]", { |
1374 |
"sorting": [[ 3, "asc" ]], |
1377 |
"sorting": [[ 3, "asc" ]], |
1375 |
"autoWidth": false, |
1378 |
"autoWidth": false, |
1376 |
}, table_settings ); |
1379 |
"stateSave": true, |
|
|
1380 |
}, updated_settings ); |
1377 |
[% END %] |
1381 |
[% END %] |
1378 |
[% END %] |
1382 |
[% END %] |
1379 |
|
1383 |
|
1380 |
- |
|
|