0
0
Fork 0

fix: refs #6151 searchbar

This commit is contained in:
Jorge Penadés 2024-07-03 13:44:35 +02:00
parent 2162315905
commit 218cc47834
2 changed files with 7 additions and 4 deletions

View File

@ -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';
</script>
<template>
<VnCard
@ -10,7 +11,9 @@ import OrderFilter from './OrderFilter.vue';
:descriptor="OrderDescriptor"
:filter-panel="OrderFilter"
search-data-key="OrderList"
searchbar-label="Search order"
searchbar-info="ypu can search by order id or name"
/>
>
<template #searchbar>
<OrderSearchbar />
</template>
</VnCard>
</template>

View File

@ -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"
/>