Skip to content

How can I effectively list tasks that meet the specified conditions? #2533

Answered by claremacrae
liuling73 asked this question in Q&A
Discussion options

You must be logged in to vote

I am now in front of a computer and can test your queries.

Whenever the Tasks results are not want you want, the best action is always to add an explain line, and it will show how your query is interpreted.

Meaning of 'due in 1 week'

Please take another look at the filtering conditions. It seems there is a logical issue with the results. For example, tasks due in the next week that should be included are not appearing in the list.

I added the explain instruction to the following query:

The query:

```tasks
explain
not done
due in 1 week
```

The search results begin with:

Explanation of this Tasks code block query:

not done

due in 1 week =>
  due date is on 2024-01-02 (Tuesday 2nd Janu…

Replies: 5 comments 13 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@claremacrae
Comment options

Comment options

You must be logged in to vote
4 replies
@liuling73
Comment options

@claremacrae
Comment options

@liuling73
Comment options

@claremacrae
Comment options

Comment options

You must be logged in to vote
8 replies
@claremacrae
Comment options

@claremacrae
Comment options

@liuling73
Comment options

@claremacrae
Comment options

@liuling73
Comment options

Answer selected by claremacrae
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants