Order items list by isActive. #434
This commit is contained in:
parent
4e2ff17121
commit
a05347d768
|
@ -1,11 +1,12 @@
|
||||||
<vn-crud-model
|
<vn-crud-model
|
||||||
vn-id="model"
|
vn-id="model"
|
||||||
url="/item/api/Clients"
|
url="/item/api/Clients"
|
||||||
filter="::$ctrl.filter"
|
order="id DESC"
|
||||||
limit="8"
|
limit="8"
|
||||||
data="clients"
|
data="clients"
|
||||||
auto-load="false">
|
auto-load="false">
|
||||||
</vn-crud-model>
|
</vn-crud-model>
|
||||||
|
|
||||||
<div margin-medium>
|
<div margin-medium>
|
||||||
<div class="vn-list">
|
<div class="vn-list">
|
||||||
<vn-card pad-medium-h>
|
<vn-card pad-medium-h>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
vn-id="model"
|
vn-id="model"
|
||||||
url="/item/api/Items/filter"
|
url="/item/api/Items/filter"
|
||||||
limit="8"
|
limit="8"
|
||||||
order="name ASC"
|
order="isActive ASC, name"
|
||||||
data="items"
|
data="items"
|
||||||
auto-load="false">
|
auto-load="false">
|
||||||
</vn-crud-model>
|
</vn-crud-model>
|
||||||
|
|
Loading…
Reference in New Issue