Bug 34917: Fix default sort column of table in suggestion.tt
Test plan: 1. Navigate to Acquisitions and load the suggestions management page 2. Ensure that there are some suggestions in the table 3. Observe that the default sort is on the "Suggester Category" column 4. Apply Patch 5. Observe that the default sort is now on the "Suggested on" column instead Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
86628b3523
commit
20524530c8
1 changed files with 1 additions and 1 deletions
|
@ -1347,7 +1347,7 @@
|
||||||
[% FOREACH suggestion IN suggestions %]
|
[% FOREACH suggestion IN suggestions %]
|
||||||
[% IF suggestion.suggestions.size %]
|
[% IF suggestion.suggestions.size %]
|
||||||
KohaTable("table_[% loop.count| html %]", {
|
KohaTable("table_[% loop.count| html %]", {
|
||||||
"sorting": [[ 3, "asc" ]],
|
"sorting": [[ 4, "asc" ]],
|
||||||
"autoWidth": false,
|
"autoWidth": false,
|
||||||
}, table_settings );
|
}, table_settings );
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
Loading…
Reference in a new issue