From efd44002669ae306350148fa75a84c6f825a8bea Mon Sep 17 00:00:00 2001 From: ricoberger Date: Tue, 6 Feb 2024 13:57:01 +0100 Subject: [PATCH] [klogs] Fix Exists Filter When a user used the exists filter in the logs table it only added `_exists_ field` to the query, but it should add `_and_ _exists_ field` to the query, so that the new query is valid and can be run directly. This commit fixes the issue. --- app/packages/klogs/src/components/Logs.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/packages/klogs/src/components/Logs.tsx b/app/packages/klogs/src/components/Logs.tsx index e8f31199..87398dc1 100644 --- a/app/packages/klogs/src/components/Logs.tsx +++ b/app/packages/klogs/src/components/Logs.tsx @@ -340,11 +340,11 @@ const DocumentDetailsTable: FunctionComponent<{ - + addFilter(`_exists_ ${key}`)} + onClick={() => addFilter(`_and_ _exists_ ${key}`)} >