Skip to content

Commit

Permalink
Fix: org-roam-ql--expand-link :or case comparison is off-by-1
Browse files Browse the repository at this point in the history
  • Loading branch information
hiecaq authored and ahmed-shariff committed Feb 26, 2024
1 parent 9f5f123 commit 298bf4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion org-roam-ql.el
Original file line number Diff line number Diff line change
Expand Up @@ -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))))))

Expand Down

0 comments on commit 298bf4d

Please sign in to comment.