question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature Request: Tasks should be filterable on the completed state

See original GitHub issue

A common scenario (if not the most common) when gathering tasks using dataview is likely to be able to pull all tasks that remain incomplete. It would be ideal to be able to do something like the following to filter out tasks that aren’t complete:

task from ""
where !task.complete
sort file.day desc

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:16
  • Comments:23 (10 by maintainers)

github_iconTop GitHub Comments

7reactions
blacksmithgucommented, May 7, 2021

I have good news and bad news. The good news is this is now possible; the bad news is you need to write a tiny bit of javascript for it:

```dataviewjs
dv.taskList(dv.pages("#projects").file.tasks.where(t => !t.completed));
```
7reactions
blacksmithgucommented, Mar 20, 2021

This has been on my TODO list forever since it’s conceptually simple, my task query implementation is just a hack. Will improve.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Filter tasks or resources - Microsoft Support
With Project, you can filter your view so that you only see the critical tasks, milestones, and other information that's most important to...
Read more >
The Importance of The 'Yes/No' Feature Request Filter - Medium
For things coming from stakeholders, it is more likely that their initial state will be a feature request; they are typically presented in ......
Read more >
Sub-Items Filter on Status (Feature Request)
For my main board, I have a filter to ignore where the “Status” is not “complete” and then hide those items. This helps...
Read more >
React interactivity: Editing, filtering, conditional rendering
The Completed filter shows tasks whose completed prop is true . Beneath our previous addition, add the following — here we are using...
Read more >
RITM State not visible in TASK - ServiceNow Community
Hi All, I have created a report based on Task table and called as My work, which would show Incident, Request, RITM etc....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found