Sort by id

This commit is contained in:
stephan 2020-03-02 13:59:16 +01:00
parent 94f4f304ce
commit d4453fd994

View File

@ -38,7 +38,7 @@
</tr> </tr>
</thead> </thead>
<tbody id="inputs"> <tbody id="inputs">
{% for input in job.inputs|sort(attribute="filename") %} {% for input in job.inputs|sort(attribute="id", reverse=true) %}
<tr> <tr>
<td id="input-{{ input.id }}-filename">{{ input.filename }}</td> <td id="input-{{ input.id }}-filename">{{ input.filename }}</td>
<td id="input-{{ input.id }}-download"> <td id="input-{{ input.id }}-download">