From cc4d1ecfb7dc20c37ef47a277efbc8950aeabc51 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 --- 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 0eb63dc71c..142f51c842 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.43.0