diff --git a/src/components/ui/VnFilterPanel.vue b/src/components/ui/VnFilterPanel.vue index b93ca7121..27b6e7b34 100644 --- a/src/components/ui/VnFilterPanel.vue +++ b/src/components/ui/VnFilterPanel.vue @@ -110,9 +110,11 @@ async function search(evt) { store.filter.where = {}; isLoading.value = true; - const filter = { ...userParams.value }; + const filter = { ...userParams.value, ...$props.modelValue }; store.userParamsChanged = true; - const { params: newParams } = await arrayData.addFilter({ params: userParams.value }); + const { params: newParams } = await arrayData.addFilter({ + params: filter, + }); userParams.value = newParams; if (!$props.showAll && !Object.values(filter).length) store.data = [];