Skip to content

Commit

Permalink
Ordernar lista de usuarios pensandoodireito/sislegis-app#428
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafael Coutinho committed Sep 20, 2016
1 parent e3dd227 commit cf3d2f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/Usuario/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h3 class="box-title">Listagem</h3>
</tr>
</thead>
<tbody>
<tr ng-repeat="result in searchResults | searchFilter:searchResults | startFrom:currentPage*pageSize | limitTo:pageSize">
<tr ng-repeat="result in searchResults | searchFilter:searchResults | startFrom:currentPage*pageSize | limitTo:pageSize | orderBy:['nome','email']">
<td><a href="#/Usuarios/edit/{{result.id}}">{{result.nome}}</a></td>
<td><a href="#/Usuarios/edit/{{result.id}}">{{result.email}}</a></td>
<td>
Expand Down

0 comments on commit cf3d2f0

Please sign in to comment.