From c9c082950590d7dc4044043481632a9dec230a42 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sun, 19 Jan 2025 02:07:23 +0200 Subject: journal-insert: Update values for new schema. --- org-gnosis.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/org-gnosis.el b/org-gnosis.el index ebe7983..027cd4e 100644 --- a/org-gnosis.el +++ b/org-gnosis.el @@ -442,10 +442,10 @@ If node does not exist, create it." "Insert journal entry." (interactive) (let* ((node (org-gnosis--find "Select journal entry: " - (org-gnosis-select '[date tags] 'journal '1=1) - (org-gnosis-select 'date 'journal '1=1))) + (org-gnosis-select '[title tags] 'journal '1=1) + (org-gnosis-select 'title 'journal '1=1))) (node-id (concat "id:" - (car (org-gnosis-select 'id 'journal `(= ,node date) '1=1))))) + (car (org-gnosis-select 'id 'journal `(= ,node title) '1=1))))) (org-insert-link nil node-id node))) ;;;###autoload -- cgit v1.2.3