From 3ee999fb7e160153b358c7054bc9929e3e076c17 Mon Sep 17 00:00:00 2001 From: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com> Date: Thu, 17 Mar 2022 16:08:37 +0600 Subject: [PATCH] Spaces search fix (#1160) Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com> --- packages/presentation/src/components/SpacesPopup.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/presentation/src/components/SpacesPopup.svelte b/packages/presentation/src/components/SpacesPopup.svelte index 8f14019eda..3b97880a7b 100644 --- a/packages/presentation/src/components/SpacesPopup.svelte +++ b/packages/presentation/src/components/SpacesPopup.svelte @@ -29,7 +29,7 @@ const dispatch = createEventDispatcher() const query = createQuery() - $: query.query(_class, { ...(spaceQuery ?? {}) }, result => { objects = result }) + $: query.query(_class, { ...(spaceQuery ?? {}), name: { $like: '%' + search + '%' } }, result => { objects = result }) afterUpdate(() => { dispatch('update', Date.now()) })