From 26628c5f2aa51ae1cc19e714e29f49e2cf2121d5 Mon Sep 17 00:00:00 2001 From: pablone Date: Thu, 8 Aug 2024 11:18:37 +0200 Subject: [PATCH] fix: refs #7129 fix vehicle filter --- src/pages/Route/Card/RouteFilter.vue | 1 + src/pages/Route/RouteList.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/src/pages/Route/Card/RouteFilter.vue b/src/pages/Route/Card/RouteFilter.vue index 24b155389..a6cd149f1 100644 --- a/src/pages/Route/Card/RouteFilter.vue +++ b/src/pages/Route/Card/RouteFilter.vue @@ -119,6 +119,7 @@ const emit = defineEmits(['search']); sort-by="numberPlate ASC" option-value="id" option-label="numberPlate" + option-filter-value="numberPlate" dense outlined rounded diff --git a/src/pages/Route/RouteList.vue b/src/pages/Route/RouteList.vue index a978d8fda..e24ed33ed 100644 --- a/src/pages/Route/RouteList.vue +++ b/src/pages/Route/RouteList.vue @@ -99,6 +99,7 @@ const columns = computed(() => [ url: 'vehicles', fields: ['id', 'numberPlate'], optionLabel: 'numberPlate', + optionFilterValue: 'numberPlate', find: { value: 'vehicleFk', label: 'vehiclePlateNumber',