From eefb88c9b534e78c5fd7eb660ff692eeebbd4f8a Mon Sep 17 00:00:00 2001 From: ctot-nondef Date: Mon, 24 Jun 2024 11:48:43 +0200 Subject: [PATCH] feat: text filter active --- pages/search.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pages/search.vue b/pages/search.vue index 4c9cdf5..ea1d1ae 100644 --- a/pages/search.vue +++ b/pages/search.vue @@ -26,10 +26,12 @@ function onUpdatePage(newPage: number) { const offset = ref(0); const limit = 20; +const searchstring = ref(""); const { data } = useGetSearchResults( computed(() => { return { + text_filter: searchstring.value, limit, offset: offset.value, }; @@ -41,7 +43,14 @@ const { data } = useGetSearchResults(

{{ t("SearchPage.title") }}

- +