From 4d8432feb5ae21be83a110414e741f2713135768 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Fri, 15 Nov 2024 11:46:55 +0100 Subject: [PATCH] revert: #6943 address star feature --- src/pages/Ticket/TicketList.vue | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/src/pages/Ticket/TicketList.vue b/src/pages/Ticket/TicketList.vue index 2cad174ae..d51ec1277 100644 --- a/src/pages/Ticket/TicketList.vue +++ b/src/pages/Ticket/TicketList.vue @@ -278,8 +278,9 @@ const fetchAddresses = async (formData) => { if (!formData.clientId) return; const filter = { - fields: ['nickname', 'street', 'city', 'id', 'isActive'], - order: ['isDefaultAddress DESC', 'isActive DESC', 'nickname ASC'], + fields: ['nickname', 'street', 'city', 'id'], + where: { isActive: true }, + order: 'nickname ASC', }; const params = { filter: JSON.stringify(filter) }; const { data } = await axios.get(`Clients/${formData.clientId}/addresses`, { @@ -651,22 +652,7 @@ function setReference(data) { @update:model-value="() => fetchAvailableAgencies(data)" >