From bd31703d8627d3c8e046d62223a08d295f0e9578 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Mon, 16 Aug 2021 19:09:53 +0200 Subject: fix: #67, correctly skip non-node headlines --- org-roam-ui.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'org-roam-ui.el') diff --git a/org-roam-ui.el b/org-roam-ui.el index 87bd92d..98cf5a6 100644 --- a/org-roam-ui.el +++ b/org-roam-ui.el @@ -279,12 +279,12 @@ unchanged." (defun org-roam-ui--create-fake-node (ref) "Create a fake node for REF without a source note." - (list ref ref (org-roam-ui--find-ref-title ref) 0 0 `(("ROAM_REFS" . ,(format "cite:%s" ref)) ("FILELESS" . t)) 'nil)) + (list ref ref (org-roam-ui--find-ref-title ref) 0 0 'nil `(("ROAM_REFS" . ,(format "cite:%s" ref)) ("FILELESS" . t)) 'nil)) (defun org-roam-ui--send-graphdata () "Get roam data, make JSON, send through websocket to org-roam-ui." - (let* ((nodes-columns [id file title level pos properties ,(funcall group-concat tag (emacsql-escape-raw \, ))]) - (nodes-names [id file title level pos properties tags]) + (let* ((nodes-columns [id file title level pos olp properties ,(funcall group-concat tag (emacsql-escape-raw \, ))]) + (nodes-names [id file title level pos olp properties tags]) (links-columns [links:source links:dest links:type refs:node-id]) (nodes-db-rows (org-roam-db-query `[:select ,nodes-columns :as tags :from nodes -- cgit v1.2.3