Order items list by isActive. #434
This commit is contained in:
parent
4e2ff17121
commit
a05347d768
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue