From 298bf4d9e1cf52190cb799ce71b3c692b07f9e04 Mon Sep 17 00:00:00 2001 From: hiecaq Date: Mon, 26 Feb 2024 20:39:40 +0800 Subject: [PATCH] Fix: `org-roam-ql--expand-link` `:or` case comparison is off-by-1 --- org-roam-ql.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org-roam-ql.el b/org-roam-ql.el index 2f82603..eda5086 100644 --- a/org-roam-ql.el +++ b/org-roam-ql.el @@ -453,7 +453,7 @@ backlinks" (--filter (pcase combine (:and (= (cadr it) query-nodes-count)) - (:or (> (cadr it) 1)) + (:or (>= (cadr it) 1)) (_ (user-error "Keyword :combine should be :and or :or; got %s" combine)))) (--map (org-roam-node-from-id (car it))))))