From a6bb9af1a7531760c7de28a162482d0a2c5f60b6 Mon Sep 17 00:00:00 2001 From: carlossa Date: Mon, 1 Jul 2024 10:48:58 +0200 Subject: [PATCH] refs #6897 fix filters --- src/pages/Entry/EntryList.vue | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/pages/Entry/EntryList.vue b/src/pages/Entry/EntryList.vue index d24715e52..997d58f37 100644 --- a/src/pages/Entry/EntryList.vue +++ b/src/pages/Entry/EntryList.vue @@ -114,8 +114,15 @@ const columns = computed(() => [ attrs: { url: 'companies', fields: ['id', 'code'], + optionLabel: 'code', + optionValue: 'id', + }, + columnField: { + component: null, }, create: true, + + format: (row, dashIfEmpty) => dashIfEmpty(row.companyCode), }, { align: 'left', @@ -125,8 +132,14 @@ const columns = computed(() => [ attrs: { url: 'travels', fields: ['id', 'ref'], + optionLabel: 'ref', + optionValue: 'id', + }, + columnField: { + component: null, }, create: true, + format: (row, dashIfEmpty) => dashIfEmpty(row.travelRef), }, { align: 'left',