From c103163825340e7e8af2ecbc50489384a2346a01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Fri, 12 Aug 2016 12:41:11 +0200 Subject: [PATCH] Sort inputs table --- src/root/edit-jobset.tt | 2 +- src/root/jobset.tt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/root/edit-jobset.tt b/src/root/edit-jobset.tt index 30b9a4c9..7dd910ee 100644 --- a/src/root/edit-jobset.tt +++ b/src/root/edit-jobset.tt @@ -47,7 +47,7 @@ Input nameTypeValueNotify committers - [% inputs = createFromEval ? eval.jobsetevalinputs : jobset.jobsetinputs; FOREACH input IN inputs %] + [% inputs = createFromEval ? eval.jobsetevalinputs : jobset.jobsetinputs; FOREACH input IN inputs.sort('name') %] [% INCLUDE renderJobsetInput input=input baseName="input-$input.name" %] [% END %] diff --git a/src/root/jobset.tt b/src/root/jobset.tt index 283d1a25..38eb4559 100644 --- a/src/root/jobset.tt +++ b/src/root/jobset.tt @@ -33,7 +33,7 @@ Input nameTypeValues - [% FOREACH input IN jobset.jobsetinputs %] + [% FOREACH input IN jobset.jobsetinputs.sort('name') %] [% INCLUDE renderJobsetInput input=input baseName="input-$input.name" %] [% END %]