From 7ce8b48fd5340d51f5bb6131ec01dce9b1b5ec61 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Thu, 28 Mar 2019 11:27:02 -0400 Subject: 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. --- org-clubhouse.el | 6 ++++-- 1 file 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))) -- cgit 1.4.1