From 65fca295c43774bbbf6f519f7d5af7719e2763d0 Mon Sep 17 00:00:00 2001 From: Gabriel Horner Date: Tue, 17 Sep 2024 13:20:36 -0400 Subject: [PATCH] fix: query builder fails for non-keyword args --- src/main/frontend/components/query/builder.cljs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/frontend/components/query/builder.cljs b/src/main/frontend/components/query/builder.cljs index 6c0b051df..88ec5462c 100644 --- a/src/main/frontend/components/query/builder.cljs +++ b/src/main/frontend/components/query/builder.cljs @@ -364,7 +364,8 @@ (str "#" (second (second clause)))) (contains? #{:property :page-property} (keyword f)) - (str (if (config/db-based-graph? (state/get-current-repo)) + (str (if (and (config/db-based-graph? (state/get-current-repo)) + (qualified-keyword? (second clause))) (:block/title (db/entity (second clause))) (name (second clause))) ": "