summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2025-01-19 02:07:23 +0200
committerThanos Apollo <[email protected]>2025-01-19 02:07:23 +0200
commitc9c082950590d7dc4044043481632a9dec230a42 (patch)
treeb493a1be244259dc28bf333b077bec687c8d95ca
parentf4d43a0278da28e59dd4173a1d01e25bb9f160f9 (diff)
journal-insert: Update values for new schema.
-rw-r--r--org-gnosis.el6
1 files 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