From 7874db16475955b92f1b8bbe4efd2bf5caa684d6 Mon Sep 17 00:00:00 2001 From: Jon Date: Fri, 4 Oct 2024 09:58:23 +0200 Subject: [PATCH] fix: zone delivery postcodes filter and order catalog type filter --- src/pages/Order/Card/OrderCatalogFilter.vue | 1 + src/pages/Zone/ZoneDeliveryPanel.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/Order/Card/OrderCatalogFilter.vue b/src/pages/Order/Card/OrderCatalogFilter.vue index 354c44747..6de43e86a 100644 --- a/src/pages/Order/Card/OrderCatalogFilter.vue +++ b/src/pages/Order/Card/OrderCatalogFilter.vue @@ -247,6 +247,7 @@ function addOrder(value, field, params) { rounded emit-value use-input + sort-by="name ASC" :disable="!selectedCategoryFk" @update:model-value=" (value) => { diff --git a/src/pages/Zone/ZoneDeliveryPanel.vue b/src/pages/Zone/ZoneDeliveryPanel.vue index d6c96b935..088811b01 100644 --- a/src/pages/Zone/ZoneDeliveryPanel.vue +++ b/src/pages/Zone/ZoneDeliveryPanel.vue @@ -94,7 +94,7 @@ watch( url="Postcodes/location" :fields="['geoFk', 'code', 'townFk', 'countryFk']" sort-by="code, townFk" - option-value="geoFk" + option-value="code" option-label="code" option-filter="code" hide-selected