From a01bbe28e7f761cfd9e525e67db13e26e0422169 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 11 Mar 2023 10:02:32 +0100 Subject: [PATCH] Fix wrong Org QL queries in constraint check agenda view --- init.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/init.el b/init.el index 3f8a966..bd9f22b 100644 --- a/init.el +++ b/init.el @@ -1249,13 +1249,14 @@ respectively." (org-ql-block '(and (property "NOT_BEFORE") (scheduled) (> (org-2ft (property "NOT_BEFORE")) - (org-2ft (scheduled)))) + (org-2ft (property "SCHEDULED")))) ((org-ql-block-header "Items whose NOT_BEFORE value is after SCHEDULED"))) ;; 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 (deadline)))) + (org-2ft (property "DEADLINE")))) ((org-ql-block-header "Items whose NOT_BEFORE value is after their DEADLINE"))) ))