Item list was repeating item id. Added order by id

This commit is contained in:
Joan 2018-11-26 12:42:37 +01:00
parent 20be455774
commit f3c0e3ae74
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
vn-id="model"
url="/item/api/Items/filter"
limit="8"
order="isActive DESC, name"
order="isActive DESC, name, id"
data="items"
auto-load="false">
</vn-crud-model>
@ -19,7 +19,7 @@
</vn-card>
<vn-card margin-medium-v>
<vn-item-product
ng-repeat="item in items track by item.id"
ng-repeat="item in items track by $index"
item="::item">
</vn-item-product>
<vn-empty-rows class="vn-list-item" style="text-align: center"