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.
This commit is contained in:
Griffin Smith 2019-03-28 11:27:02 -04:00
parent d29c5c0df6
commit 7ce8b48fd5

View file

@ -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)))