Add ModifyIndex as a sortable column for alloc tables

This commit is contained in:
Michael Lange 2017-10-17 17:49:59 -07:00
parent a10466a68d
commit f842d009a4
3 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,7 @@
{{allocation.shortId}}
</a>
</td>
<td>{{allocation.modifyIndex}}</td>
<td>{{allocation.name}}</td>
<td>
<span class="color-swatch {{allocation.clientStatus}}" /> {{allocation.clientStatus}}

View File

@ -67,6 +67,7 @@
sortDescending=sortDescending as |t|}}
{{#t.head}}
{{#t.sort-by prop="shortId"}}ID{{/t.sort-by}}
{{#t.sort-by prop="modifyIndex" title="Modify Index"}}Modified{{/t.sort-by}}
{{#t.sort-by prop="name"}}Name{{/t.sort-by}}
{{#t.sort-by prop="statusIndex"}}Status{{/t.sort-by}}
{{#t.sort-by prop="node.shortId"}}Node{{/t.sort-by}}

View File

@ -40,6 +40,7 @@
class="allocations with-foot" as |t|}}
{{#t.head}}
{{#t.sort-by prop="shortId"}}ID{{/t.sort-by}}
{{#t.sort-by prop="modifyIndex" title="Modify Index"}}Modified{{/t.sort-by}}
{{#t.sort-by prop="name"}}Name{{/t.sort-by}}
{{#t.sort-by prop="statusIndex"}}Status{{/t.sort-by}}
{{#t.sort-by prop="job.name"}}Job{{/t.sort-by}}