From 218cc47834eedff76ac444cd19fa5eed72bc3c75 Mon Sep 17 00:00:00 2001 From: jorgep Date: Wed, 3 Jul 2024 13:44:35 +0200 Subject: [PATCH 1/2] fix: refs #6151 searchbar --- src/pages/Order/Card/OrderCard.vue | 9 ++++++--- src/pages/Travel/Card/TravelCard.vue | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/pages/Order/Card/OrderCard.vue b/src/pages/Order/Card/OrderCard.vue index 12b61e913..5b6896656 100644 --- a/src/pages/Order/Card/OrderCard.vue +++ b/src/pages/Order/Card/OrderCard.vue @@ -2,6 +2,7 @@ import VnCard from 'components/common/VnCard.vue'; import OrderDescriptor from 'pages/Order/Card/OrderDescriptor.vue'; import OrderFilter from './OrderFilter.vue'; +import OrderSearchbar from './OrderSearchbar.vue'; diff --git a/src/pages/Travel/Card/TravelCard.vue b/src/pages/Travel/Card/TravelCard.vue index a3c1430e9..b87d2b9cc 100644 --- a/src/pages/Travel/Card/TravelCard.vue +++ b/src/pages/Travel/Card/TravelCard.vue @@ -37,7 +37,7 @@ const filter = { search-data-key="TravelList" searchbar-label="Search travel" searchbar-info="You can search by travel id or name" - search-url="Travels" + search-url="Travels/filter" :filter="filter" :descriptor="TravelDescriptor" /> From 95f488ba7666d37ea683667243af7ecb13f5572d Mon Sep 17 00:00:00 2001 From: jorgep Date: Wed, 3 Jul 2024 13:47:33 +0200 Subject: [PATCH 2/2] chore: refs #6151 rollback --- src/pages/Travel/Card/TravelCard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Travel/Card/TravelCard.vue b/src/pages/Travel/Card/TravelCard.vue index b87d2b9cc..a3c1430e9 100644 --- a/src/pages/Travel/Card/TravelCard.vue +++ b/src/pages/Travel/Card/TravelCard.vue @@ -37,7 +37,7 @@ const filter = { search-data-key="TravelList" searchbar-label="Search travel" searchbar-info="You can search by travel id or name" - search-url="Travels/filter" + search-url="Travels" :filter="filter" :descriptor="TravelDescriptor" />