From 17aea855812b315a8ef3695493e1e1020c130137 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 --- 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 0eb63dc71ca..142f51c8420 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/edifactmsgs.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/edifactmsgs.tt @@ -71,6 +71,7 @@ "vendor", "basket" ], + "order": [[ 1, "desc" ]], "columns": [ { "data": "type", -- 2.39.5