Fix wrong Org QL queries in constraint check agenda view

This commit is contained in:
Daniel - 2023-03-11 10:02:32 +01:00
parent 26d9dc0614
commit a01bbe28e7
Signed by: dbo
GPG Key ID: 784AA8DF0CCDF625
1 changed files with 4 additions and 3 deletions

View File

@ -1249,13 +1249,14 @@ respectively."
(org-ql-block '(and (property "NOT_BEFORE") (org-ql-block '(and (property "NOT_BEFORE")
(scheduled) (scheduled)
(> (org-2ft (property "NOT_BEFORE")) (> (org-2ft (property "NOT_BEFORE"))
(org-2ft (scheduled)))) (org-2ft (property "SCHEDULED"))))
((org-ql-block-header "Items whose NOT_BEFORE value is after SCHEDULED"))) ((org-ql-block-header "Items whose NOT_BEFORE value is after SCHEDULED")))
;; Check whether any NOT_BEFORE is beind their DEADLINE ;; Check whether any NOT_BEFORE is beind their DEADLINE
(org-ql-block '(and (property "NOT_BEFORE") (deadline) (org-ql-block '(and (property "NOT_BEFORE")
(deadline)
(> (org-2ft (property "NOT_BEFORE")) (> (org-2ft (property "NOT_BEFORE"))
(org-2ft (deadline)))) (org-2ft (property "DEADLINE"))))
((org-ql-block-header "Items whose NOT_BEFORE value is after their DEADLINE"))) ((org-ql-block-header "Items whose NOT_BEFORE value is after their DEADLINE")))
)) ))