Sort task list by ID instead of status
The task list of a story should be sorted by ID, instead of status so that a user can quickly navigate to a specific task Story: 2001551 Task: 6492 Change-Id: Iaa09f52f1add074873b0e22efb1474ae996d72ca Signed-off-by: Vaishnavi Pamulapati <vaishnavi.p@research.iiit.ac.in>
This commit is contained in:
parent
89b60c35ef
commit
cb6c98a864
|
@ -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">
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue