From 5af4629163965943948a66521cd0975315e2965c Mon Sep 17 00:00:00 2001 From: Oliver Date: Tue, 10 May 2022 11:54:51 +1000 Subject: [PATCH] Order test results by decreasing date for build order - This means that "newer" results will be found first - Thus a newer "true" will beat an older "false" --- InvenTree/templates/js/translated/build.js | 1 + 1 file changed, 1 insertion(+) diff --git a/InvenTree/templates/js/translated/build.js b/InvenTree/templates/js/translated/build.js index a636cfeec8..94c2780a28 100644 --- a/InvenTree/templates/js/translated/build.js +++ b/InvenTree/templates/js/translated/build.js @@ -1056,6 +1056,7 @@ function loadBuildOutputTable(build_info, options={}) { '{% url "api-stock-test-result-list" %}', { build: build_info.pk, + ordering: '-date', }, { success: function(results) {