Fix board list sorting

This commit is contained in:
Julius Haertl
2016-08-24 02:29:53 +02:00
parent 5388f2af69
commit aae3660f4b
5 changed files with 10 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
<div id="boardlist">
<!--<table width="100%">
<table width="100%">
<thead>
<tr>
<td class="cell-board-bullet"></td>
@@ -8,7 +8,7 @@
</tr>
</thead>
<tbody>
<tr data-ng-repeat="b in boards"
<tr data-ng-repeat="b in boardservice.sorted"
ui-sref="board({boardId: b.id})">
<td>
<span class="board-bullet"
@@ -50,5 +50,5 @@
<td></td>
</tr>
</tbody>
</table>//-->
</table>
</div>

View File

@@ -7,7 +7,7 @@
<li><a href="#" class="icon-public">Public Boards</a></li>
//-->
<li class="with-icon with-menu" data-ng-repeat="b in boards">
<li class="with-icon with-menu" data-ng-repeat="b in boardservice.sorted">
<span class="board-bullet" style="background-color:#{{b.color}};" ng-if="!b.status.edit"> </span>
<a href="#/board/{{b.id}}/" ng-if="!b.status.edit">{{ b.title }}</a>
<div class="app-navigation-entry-utils" ng-show="!b.status.edit" style="position:absolute;">