Merge "Sort task list by ID instead of status"

This commit is contained in:
Zuul 2018-05-16 19:06:42 +00:00 committed by Gerrit Code Review
commit 1b932c9e6b
2 changed files with 2 additions and 2 deletions

View File

@ -429,7 +429,7 @@
<!-- Template for a table of tasks -->
<script type="text/ng-template" id="/inline/task_table.html">
<table class="table table-striped table-supercondensed">
<tr ng-repeat="task in projects[name].branches[branchName].tasks | orderBy: '-status'"
<tr ng-repeat="task in projects[name].branches[branchName].tasks | orderBy: 'id'"
ng-include src="'/inline/task_list_item.html'">
</tr>
<tr ng-show="isLoggedIn && !projects[name].branches[branchName].showAddTask">

View File

@ -291,7 +291,7 @@
<!-- Template for a table of tasks -->
<script type="text/ng-template" id="/inline/task_table.html">
<table class="table table-striped table-supercondensed">
<tr ng-repeat="task in projects[name].branches[branchName].tasks | orderBy: '-status'"
<tr ng-repeat="task in projects[name].branches[branchName].tasks | orderBy: 'id'"
ng-include src="'/inline/task_list_item.html'">
</tr>
<tr ng-show="isLoggedIn && !projects[name].branches[branchName].showAddTask">