##Incomplete Reminders Search:
The script is pretty basic and goes like the following:
-reminderDoneTime:00011231 reminderOrder:00011231
###How it works
To start with, reminderDoneTime:[datetime]
returns true if it finds a date that is on or after what is listed. We can invert this by prepending the query with a -
. As a result, -reminderDoneTime:[datetime]
returns true if the note either has no timestamp or if it has a date before [datetime]
.
Since de-checking a previousely sompleted remender sets the timestamp to 00001231T000000Z
(0 AD), selecting for 00011231
(1 AD) will work just fine.
Because we only want to see reminders, we'll need to filter for them. In a note, reminderOrder
is added to any note that is turned into a reminder. The same thing that happens to reminderDoneTime
happens to reminderOrder
if the reminder aspect is deactivated. This means that we want to filter for 00011231
here as well (but not inversed). That leaves us with reminderOrder:00011231
.
Once again, when we combine these, we get our final filter:
-reminderDoneTime:00011231 reminderOrder:00011231
###Sources