ENH don't use parent tags for quarter

This commit is contained in:
Nathan Dwarshuis 2022-02-22 18:40:46 -05:00
parent ed1fde1e55
commit 3f27f0e839
1 changed files with 1 additions and 2 deletions

View File

@ -1983,8 +1983,7 @@ FUTURE-LIMIT in a list."
(let ((alloc (-some->> (org-x-dag-get-local-property org-x-prop-allocate) (let ((alloc (-some->> (org-x-dag-get-local-property org-x-prop-allocate)
(org-x-dag-allocation-fraction current-quarter))) (org-x-dag-allocation-fraction current-quarter)))
(assignedp (org-x-dag-id->has-child-in-files-p id week-file)) (assignedp (org-x-dag-id->has-child-in-files-p id week-file))
(tags (->> (org-x-dag-id->parents id) (tags (->> (org-x-dag-id->tags nil nil id)
(--mapcat (org-x-dag-id->tags id nil it))
(--filter (= (elt it 0) org-x-tag-category-prefix))))) (--filter (= (elt it 0) org-x-tag-category-prefix)))))
(-> (org-x-dag-format-tag-node "goal" tags id) (-> (org-x-dag-format-tag-node "goal" tags id)
(org-add-props nil (org-add-props nil