From 38d6e5c2fc1ddc9c5280e16ed4ea84cc56271881 Mon Sep 17 00:00:00 2001 From: Jacob O'Mara Date: Tue, 26 Sep 2023 15:19:45 +0100 Subject: [PATCH] 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 Signed-off-by: David Nind Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 20524530c8308ea44e27c44d7e75861b0b923cae) Signed-off-by: Fridolin Somers (cherry picked from commit efd2fcc842692f6f7a269238f78daa493f4342e6) Signed-off-by: Jacob O'Mara --- .../intranet-tmpl/prog/en/modules/suggestion/suggestion.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 5355834be6..c55b3d0aa4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt @@ -1356,7 +1356,7 @@ [% FOREACH suggestion IN suggestions %] [% IF suggestion.suggestions.size %] KohaTable("table_[% loop.count| html %]", { - "sorting": [[ 3, "asc" ]], + "sorting": [[ 4, "asc" ]], "autoWidth": false, }, table_settings ); [% END %] -- 2.39.5