File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -881,6 +881,12 @@ return an empty string."
881
881
(habit-property (org-with-point-at (org-element-property :begin element)
882
882
(when (org-is-habit-p)
883
883
(org-habit-parse-todo))))
884
+ (blocked (when-let ((marker (or (org-element-property :org-hd-marker element)
885
+ (org-element-property :org-marker element))))
886
+ (when org-agenda-dim-blocked-tasks
887
+ (org-with-point-at marker
888
+ (when (org-entry-blocked-p )
889
+ org-agenda-dim-blocked-tasks)))))
884
890
(due-string (pcase (org-element-property :relative-due-date element)
885
891
('nil " " )
886
892
(string (format " %s " (org-add-props string nil 'face 'org-ql-view-due-date )))))
@@ -890,6 +896,11 @@ return an empty string."
890
896
(--> string
891
897
; ; FIXME: Use proper prefix
892
898
(concat " " it)
899
+ (if blocked
900
+ (org-add-props it nil
901
+ 'org-filter-type 'todo-blocked
902
+ 'org-todo-blocked blocked)
903
+ it)
893
904
(org-add-props it properties
894
905
'org-agenda-type 'search
895
906
'todo-state todo-keyword
You can’t perform that action at this time.
0 commit comments