Item list was repeating item id. Added order by id
This commit is contained in:
parent
20be455774
commit
f3c0e3ae74
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue