obsidian-dataview icon indicating copy to clipboard operation
obsidian-dataview copied to clipboard

Unmarked Tasks showing up in results

Open thomaszahr opened this issue 2 years ago • 4 comments

What happened?

Until the last update 0.5.31 dataview ignored unmarked tasks eg

  • [-] This is a unmarked task [due:2022-06-05]

in queries, which I liked. This allows me to leave the taks as is in the note when it is no longer relevant as a task but useful as information

DQL

task 
from "Aktiv" OR "Notizen" AND !#daily_note where file.name != "_Projekt(chen)"
where due < date(today) AND !completed
group by pchen as Heading

JS

No response

Dataview Version

0.5.31

Obsidian Version

0.14.15

OS

Windows

thomaszahr avatar Jun 08 '22 15:06 thomaszahr

This is a new feature, not a bug. You can modify your query to get the same results as you used to, see the docs. Only x counts as completed as far as I know.

NomarCub avatar Jun 08 '22 15:06 NomarCub

Maybe adding this:

WHERE status != "-"

mnvwvnm avatar Jun 08 '22 17:06 mnvwvnm

That query should return your mentioned task; A task is only considered completed if it is explicitly 'x' or 'X'. It may be another part of the query excluding it.

blacksmithgu avatar Jun 10 '22 02:06 blacksmithgu

@thomaszahr are you still having trouble with this?

AB1908 avatar Jul 19 '22 13:07 AB1908