0
0
Fork 0

Merge pull request 'fix: refs #7129 fix vehicle filter' (!602) from 7129-fixCreateVehicleFilter into master

Reviewed-on: verdnatura/salix-front#602
Reviewed-by: Guillermo Bonet <guillermo@verdnatura.es>
This commit is contained in:
Pablo Natek 2024-08-08 09:31:26 +00:00
commit d23dc642cc
2 changed files with 2 additions and 0 deletions

View File

@ -119,6 +119,7 @@ const emit = defineEmits(['search']);
sort-by="numberPlate ASC" sort-by="numberPlate ASC"
option-value="id" option-value="id"
option-label="numberPlate" option-label="numberPlate"
option-filter-value="numberPlate"
dense dense
outlined outlined
rounded rounded

View File

@ -99,6 +99,7 @@ const columns = computed(() => [
url: 'vehicles', url: 'vehicles',
fields: ['id', 'numberPlate'], fields: ['id', 'numberPlate'],
optionLabel: 'numberPlate', optionLabel: 'numberPlate',
optionFilterValue: 'numberPlate',
find: { find: {
value: 'vehicleFk', value: 'vehicleFk',
label: 'vehiclePlateNumber', label: 'vehiclePlateNumber',