Merge pull request 'fix: hotfix search' (!1012) from hotfix-7366TravelSearch into master
gitea/salix-front/pipeline/head This commit looks good Details

Reviewed-on: #1012
Reviewed-by: Carlos Andrés <carlosap@verdnatura.es>
Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
Carlos Satorres 2024-12-02 09:34:19 +00:00
commit 7f3ce0393f
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">