From 79fdaffbc8bd03740fbcf70178daea87671cc496 Mon Sep 17 00:00:00 2001 From: PAU ROVIRA ROSALENY Date: Tue, 1 Apr 2025 07:42:30 +0000 Subject: [PATCH 1/2] fix: fixed CustomerTicket table order --- src/pages/Customer/components/CustomerSummaryTable.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pages/Customer/components/CustomerSummaryTable.vue b/src/pages/Customer/components/CustomerSummaryTable.vue index 09c7e714c..8d921ae69 100644 --- a/src/pages/Customer/components/CustomerSummaryTable.vue +++ b/src/pages/Customer/components/CustomerSummaryTable.vue @@ -49,7 +49,6 @@ const filter = { }, ], where: { clientFk: $props.id ?? route.params.id }, - order: ['shipped DESC', 'id'], limit: 30, }; @@ -191,7 +190,7 @@ const getItemPackagingType = (ticketSales) => { :without-header="true" auto-load :row-click="rowClick" - order="shipped DESC, id" + order="shipped DESC, id DESC" :disable-option="{ card: true, table: true }" class="full-width" :disable-infinite-scroll="true" -- 2.40.1 From 35886999e465e124c8cbffbfb16e9167c846f419 Mon Sep 17 00:00:00 2001 From: PAU ROVIRA ROSALENY Date: Tue, 1 Apr 2025 07:54:41 +0000 Subject: [PATCH 2/2] fix: rollback --- src/pages/Customer/components/CustomerSummaryTable.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/Customer/components/CustomerSummaryTable.vue b/src/pages/Customer/components/CustomerSummaryTable.vue index 8d921ae69..feb137065 100644 --- a/src/pages/Customer/components/CustomerSummaryTable.vue +++ b/src/pages/Customer/components/CustomerSummaryTable.vue @@ -49,6 +49,7 @@ const filter = { }, ], where: { clientFk: $props.id ?? route.params.id }, + order: ['shipped DESC', 'id'], limit: 30, }; -- 2.40.1