fix(tickets): fixed ticket duplications on ticket summary and ticket index caused by pagination
gitea/salix/pipeline/head This commit looks good Details

Refs: 3093
This commit is contained in:
Joan Sanchez 2021-09-17 08:50:22 +02:00
parent 25fb02deff
commit 079f99ca0d
2 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@
filter="::$ctrl.ticketFilter"
limit="5"
data="tickets"
order="shipped DESC">
order="shipped DESC, id">
</vn-crud-model>
<vn-card class="summary">
<h5>
@ -293,7 +293,7 @@
<vn-th field="id" number>Id</vn-th>
<vn-th field="nickname" expand>Nickname</vn-th>
<vn-th field="agencyModeFk" expand>Agency</vn-th>
<vn-th field="routeFk" expand>Route</vn-th>
<vn-th field="routeFk" shrink>Route</vn-th>
<vn-th field="packages" shrink>Packages</vn-th>
<vn-th field="shipped" shrink-date>Date</vn-th>
<vn-th field="stateFk">State</vn-th>
@ -314,7 +314,7 @@
{{::ticket.nickname}}
</span>
</vn-td>
<vn-td shrink>
<vn-td expand>
{{::ticket.agencyMode.name}}
</vn-td>
<vn-td shrink>

View File

@ -2,7 +2,7 @@
vn-id="model"
url="Tickets/filter"
limit="20"
order="shippedDate DESC, shippedHour ASC, zoneLanding ASC">
order="shippedDate DESC, shippedHour ASC, zoneLanding ASC, id">
</vn-crud-model>
<vn-portal slot="topbar">
<vn-searchbar