From fde2219d796b219c5070e19f4688bf32f7d9a6c6 Mon Sep 17 00:00:00 2001 From: Vanderhaegen Cedrik Date: Fri, 10 Nov 2023 14:37:54 +0100 Subject: [PATCH] tweak ao search --- src/components/smart/FilterAanduidingsobject.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/smart/FilterAanduidingsobject.vue b/src/components/smart/FilterAanduidingsobject.vue index 22e24ef0..f7b67d6e 100644 --- a/src/components/smart/FilterAanduidingsobject.vue +++ b/src/components/smart/FilterAanduidingsobject.vue @@ -38,7 +38,7 @@ const aanduidingsobjectValue = computed(() => { const updateValue = (value: IESAanduidingsobject) => emit('update:value', value); const performAutocompleteSearch = async (searchTerm: string): Promise => { try { - aanduidingsobjecten.value = await inventarisApiService.getAanduidingsobjecten(searchTerm); + aanduidingsobjecten.value = await inventarisApiService.getAanduidingsobjecten(`${searchTerm}*`); const autocompleteData: IAutocompleteOption[] = aanduidingsobjecten.value.map((ao) => { return { title: ao.titel,