0
0
Fork 0

fix: hotfix search

This commit is contained in:
Carlos Satorres 2024-11-27 10:18:32 +01:00
parent bfb0915da0
commit a531973421
2 changed files with 5 additions and 6 deletions

View File

@ -7,13 +7,13 @@ import filter from './TravelFilter.js';
<VnCard
data-key="Travel"
base-url="Travels"
search-data-key="TravelList"
:filter="filter"
:descriptor="TravelDescriptor"
:filter="filter"
search-data-key="TravelList"
:searchbar-props="{
url: 'Travels',
url: 'Travels/filter',
searchUrl: 'table',
label: 'Search travel',
info: 'You can search by travel id or name',
}"
/>
</template>

View File

@ -208,6 +208,7 @@ const columns = computed(() => [
ref="tableRef"
data-key="TravelList"
url="Travels/filter"
redirect="travel"
:create="{
urlCreate: 'Travels',
title: t('Create Travels'),
@ -221,9 +222,7 @@ const columns = computed(() => [
order="landed DESC"
:columns="columns"
auto-load
redirect="travel"
:is-editable="false"
:use-model="true"
>
<template #column-status="{ row }">
<div class="row">