Order items list by isActive. #434

This commit is contained in:
Joan Sanchez 2018-07-26 07:46:25 +02:00
parent 4e2ff17121
commit a05347d768
2 changed files with 3 additions and 2 deletions

View File

@ -1,11 +1,12 @@
<vn-crud-model
vn-id="model"
url="/item/api/Clients"
filter="::$ctrl.filter"
order="id DESC"
limit="8"
data="clients"
auto-load="false">
</vn-crud-model>
<div margin-medium>
<div class="vn-list">
<vn-card pad-medium-h>

View File

@ -2,7 +2,7 @@
vn-id="model"
url="/item/api/Items/filter"
limit="8"
order="name ASC"
order="isActive ASC, name"
data="items"
auto-load="false">
</vn-crud-model>