diff options
author | Griffin Smith <root@gws.fyi> | 2019-03-28T15·27-0400 |
---|---|---|
committer | Griffin Smith <root@gws.fyi> | 2019-03-28T15·27-0400 |
commit | 7ce8b48fd5340d51f5bb6131ec01dce9b1b5ec61 (patch) | |
tree | 60409b00fc7a2969dd7a538e381b1afd95446d40 /org-clubhouse.el | |
parent | d29c5c0df6b58b8f0490dc94c9705e3363e7d65e (diff) |
fix: Put task story-ids in a format we can read
Make task headline story-ids links just like the IDs for the story headlines are, so that they can later be read by org-clubhouse-extract-story-id - this fixes task status updating, which was broken.
Diffstat (limited to 'org-clubhouse.el')
-rw-r--r-- | org-clubhouse.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/org-clubhouse.el b/org-clubhouse.el index 2feff4dcf244..c2f38d8c233d 100644 --- a/org-clubhouse.el +++ b/org-clubhouse.el @@ -909,8 +909,10 @@ contents of a drawer inside the element called DESCRIPTION, if any." "TODO" "DONE") (alist-get 'description task) (alist-get 'id task) - (org-clubhouse-link-to-story - (alist-get 'story_id task)))) + (let ((story-id (alist-get 'story_id task))) + (org-make-link-string + (org-clubhouse-link-to-story story-id) + story-id)))) (defun org-clubhouse--story-to-headline-text (level story) (let ((story-id (alist-get 'id story))) |