fix(tickets): fixed ticket duplications on ticket summary and ticket index caused by pagination
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Refs: 3093
This commit is contained in:
parent
6e67dd408e
commit
786589f214
|
@ -6,7 +6,7 @@
|
||||||
filter="::$ctrl.ticketFilter"
|
filter="::$ctrl.ticketFilter"
|
||||||
limit="5"
|
limit="5"
|
||||||
data="tickets"
|
data="tickets"
|
||||||
order="shipped DESC">
|
order="shipped DESC, id">
|
||||||
</vn-crud-model>
|
</vn-crud-model>
|
||||||
<vn-card class="summary">
|
<vn-card class="summary">
|
||||||
<h5>
|
<h5>
|
||||||
|
@ -293,6 +293,8 @@
|
||||||
<vn-tr>
|
<vn-tr>
|
||||||
<vn-th field="id" number>Id</vn-th>
|
<vn-th field="id" number>Id</vn-th>
|
||||||
<vn-th field="nickname" expand>Nickname</vn-th>
|
<vn-th field="nickname" expand>Nickname</vn-th>
|
||||||
|
<vn-th field="agencyModeFk" expand>Agency</vn-th>
|
||||||
|
<vn-th field="routeFk" shrink>Route</vn-th>
|
||||||
<vn-th field="packages" shrink>Packages</vn-th>
|
<vn-th field="packages" shrink>Packages</vn-th>
|
||||||
<vn-th field="shipped" shrink-date>Date</vn-th>
|
<vn-th field="shipped" shrink-date>Date</vn-th>
|
||||||
<vn-th>State</vn-th>
|
<vn-th>State</vn-th>
|
||||||
|
@ -313,6 +315,17 @@
|
||||||
{{::ticket.nickname}}
|
{{::ticket.nickname}}
|
||||||
</span>
|
</span>
|
||||||
</vn-td>
|
</vn-td>
|
||||||
|
<vn-td expand>
|
||||||
|
{{::ticket.agencyMode.name}}
|
||||||
|
</vn-td>
|
||||||
|
<vn-td shrink>
|
||||||
|
<span
|
||||||
|
title="{{::ticket.route}}"
|
||||||
|
vn-click-stop="routeDescriptor.show($event, ticket.routeFk)"
|
||||||
|
class="link">
|
||||||
|
{{::ticket.routeFk}}
|
||||||
|
</span>
|
||||||
|
</vn-td>
|
||||||
<vn-td shrink>
|
<vn-td shrink>
|
||||||
{{::ticket.packages}}
|
{{::ticket.packages}}
|
||||||
</vn-td>
|
</vn-td>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
vn-id="model"
|
vn-id="model"
|
||||||
url="Tickets/filter"
|
url="Tickets/filter"
|
||||||
limit="20"
|
limit="20"
|
||||||
order="shippedDate DESC, shippedHour ASC, zoneLanding ASC">
|
order="shippedDate DESC, shippedHour ASC, zoneLanding ASC, id">
|
||||||
</vn-crud-model>
|
</vn-crud-model>
|
||||||
<vn-portal slot="topbar">
|
<vn-portal slot="topbar">
|
||||||
<vn-searchbar
|
<vn-searchbar
|
||||||
|
|
Loading…
Reference in New Issue