From 7432396ceafb7fe46b8ed8ac28fa7753df57efd2 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Thu, 25 Jul 2024 13:55:41 -0300 Subject: [PATCH] Ticket expedition initial load fix --- src/pages/Ticket/Card/TicketExpedition.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/Ticket/Card/TicketExpedition.vue b/src/pages/Ticket/Card/TicketExpedition.vue index bddfa2bfd..a7eb9e27e 100644 --- a/src/pages/Ticket/Card/TicketExpedition.vue +++ b/src/pages/Ticket/Card/TicketExpedition.vue @@ -65,7 +65,7 @@ const ticketData = computed(() => ticketStore.data); const refetchExpeditions = async () => { await expeditionsArrayData.applyFilter({ - params: { filter: JSON.stringify(expeditionsFilter.value) }, + filter: expeditionsFilter.value, }); }; @@ -81,7 +81,7 @@ const applyColumnFilter = async (col) => { try { const paramKey = col.columnFilter?.filterParamKey || col.field; params[paramKey] = col.columnFilter.filterValue; - await expeditionsArrayData.addFilter({ params }); + await expeditionsArrayData.addFilter({ filter: expeditionsFilter.value, params }); } catch (err) { console.error('Error applying column filter', err); }