|
Lines 1387-1402
Link Here
|
| 1387 |
} |
1387 |
} |
| 1388 |
|
1388 |
|
| 1389 |
var table_settings = [% TablesSettings.GetTableSettings( 'acqui', 'suggestions', 'suggestions', 'json' ) | $raw %] |
1389 |
var table_settings = [% TablesSettings.GetTableSettings( 'acqui', 'suggestions', 'suggestions', 'json' ) | $raw %] |
| 1390 |
var saved_table = localStorage.getItem("DataTables_suggestions_/cgi-bin/koha/suggestion/suggestion.pl"); |
|
|
| 1391 |
var updated_settings = get_columns_saved_state(saved_table, table_settings); |
| 1392 |
|
1390 |
|
| 1393 |
[% FOREACH suggestion IN suggestions %] |
1391 |
[% FOREACH suggestion IN suggestions %] |
| 1394 |
[% IF suggestion.suggestions.size %] |
1392 |
[% IF suggestion.suggestions.size %] |
| 1395 |
KohaTable("table_[% suggestion.suggestiontype | html %]", { |
1393 |
KohaTable("table_[% suggestion.suggestiontype | html %]", { |
| 1396 |
"sorting": [[ 4, "asc" ]], |
1394 |
"sorting": [[ 4, "asc" ]], |
| 1397 |
"autoWidth": false, |
1395 |
"autoWidth": false, |
| 1398 |
"stateSave": true, |
1396 |
}, table_settings ); |
| 1399 |
}, updated_settings ); |
|
|
| 1400 |
[% END %] |
1397 |
[% END %] |
| 1401 |
[% END %] |
1398 |
[% END %] |
| 1402 |
|
1399 |
|
| 1403 |
- |
|
|