From 94f4f304ce04d68a7e2f16278947458ffb8ed88e Mon Sep 17 00:00:00 2001 From: stephan Date: Mon, 2 Mar 2020 13:52:02 +0100 Subject: [PATCH 1/2] Sort input files --- app/templates/jobs/job.html.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/jobs/job.html.j2 b/app/templates/jobs/job.html.j2 index 70a8e935..1fdae5db 100644 --- a/app/templates/jobs/job.html.j2 +++ b/app/templates/jobs/job.html.j2 @@ -38,7 +38,7 @@ - {% for input in job.inputs %} + {% for input in job.inputs|sort(attribute="filename") %} {{ input.filename }} From d4453fd99475b115853ad16c11413f7a9372df91 Mon Sep 17 00:00:00 2001 From: stephan Date: Mon, 2 Mar 2020 13:59:16 +0100 Subject: [PATCH 2/2] Sort by id --- app/templates/jobs/job.html.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/jobs/job.html.j2 b/app/templates/jobs/job.html.j2 index 1fdae5db..63a1874e 100644 --- a/app/templates/jobs/job.html.j2 +++ b/app/templates/jobs/job.html.j2 @@ -38,7 +38,7 @@ - {% for input in job.inputs|sort(attribute="filename") %} + {% for input in job.inputs|sort(attribute="id", reverse=true) %} {{ input.filename }}