forked from verdnatura/salix-front
Ticket expedition initial load fix
This commit is contained in:
parent
fdec25dc88
commit
7432396cea
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue