From 39e76c8b72eb84c1f666c1b7bd7dff05be56b35a Mon Sep 17 00:00:00 2001 From: Jake Deery Date: Tue, 11 Feb 2025 15:26:46 +0000 Subject: [PATCH] Bug 38957: edifactmsgs data table sorts on date This trivial patch addresses a missing order-by on the edifact messages datatable since moving to API based fetching TO TEST: a) Read in a load of EDIFact messages in k.t.d b) Notice on the EDIFact messages table the order is seemingly arbitrary c) APPLY PATCH d) Notice the sorting is now by transfer date, descending Signed-off-by: Lisette Scheer Signed-off-by: Marcel de Rooy Signed-off-by: Katrin Fischer (cherry picked from commit 09d3fd9b95f031a9bc6e8ce3ee370c51a40f3347) Signed-off-by: Paul Derscheid --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/edifactmsgs.tt | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/edifactmsgs.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/edifactmsgs.tt index 227ca241fc..baad46ee67 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/edifactmsgs.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/edifactmsgs.tt @@ -85,6 +85,7 @@ "vendor", "basket" ], + "order": [[ 1, "desc" ]], "columns": [ { "data": "type",