From 8d0e901e42c1fbfd39f00b8fc56c30642bf1650e Mon Sep 17 00:00:00 2001 From: Arman Date: Thu, 15 Feb 2024 17:58:39 +0100 Subject: [PATCH] fix: query names --- src/lib/components/filters/content.svelte | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/components/filters/content.svelte b/src/lib/components/filters/content.svelte index e7769c667..973802398 100644 --- a/src/lib/components/filters/content.svelte +++ b/src/lib/components/filters/content.svelte @@ -68,13 +68,13 @@ toTag: (attribute, input) => `**${attribute}** not equal to **${input}**`, types: ['string', 'integer', 'double', 'boolean'] }, - 'not null': { + 'is not null': { toQuery: Query.isNotNull, toTag: (attribute) => `**${attribute}** is not null`, types: ['string', 'integer', 'double', 'boolean', 'datetime', 'relationship'], hideInput: true }, - null: { + 'is null': { toQuery: Query.isNull, toTag: (attribute) => `**${attribute}** is null`, types: ['string', 'integer', 'double', 'boolean', 'datetime', 'relationship'], @@ -223,7 +223,7 @@ queries.removeFilter(tag); }}> - {tag.tag} + {JSON.stringify(tag.tag)}