Filter out archived projects

I just barely realized that v0.24.1 is out. I am fiddling with the views and creating lists with the enhanced filtering. It’s great.

As of now I note that if I filter for tasks with a particular label, it even finds them from archived projects, which I would not expect. As of yet I can’t see any way to exclude tasks from archived projects in a filter. Is there a way?

Actually I notice as well that even in the main ‘Overview’ list it shows tasks from archived projects. Again, unexpected for me.

Or… further investigation suggests that projects that were created before I upgraded to 0.24.1 still have their tasks show up in the filters, even if those projects are archived. If it’s a new project that was created and archived after the upgrade to 0.24.1 then those ones don’t have their tasks showing up in lists once project is archived.

Maybe just an artifact of the old way of making projects vs the new, and perhaps old projects retained some odd property that causes this.

looks like the reply here from @Wasabi might be what you are looking for.

Hm, I’m not sure that this is the same. In this case, they’re archiving projects, and it’s about visibility of tasks from archived projects. The other thread was about “archiving” tasks, or more specifically hiding done tasks from a Kanban view. This situation here looks different

Accurate; Wasabi was talking about keeping completed tasks around on Kanban for a time before making them vanish (a nice idea btw), but my problem was that tasks from archived Projects are still showing up all over in filters that look for due dates or something.

I’ve gone and deleted most of those archived projects because I really didn’t need them anymore. There are a couple remaining ones but those tasks I removed the due dates from so they just don’t show up in one of those lists that I care about. I bet they’d still show up if I simply ran a filter (done = false). Haven’t tested yet.

This looks like a bug. Tasks from archived projects should not show up anywhere, unless explicitly desired. Can you reproduce this on try?

I attempted repro, but the issue is that the filters only seem to grab tasks from archived projects where those projects were created before upgrading to 0.24.1 (from 0.23, can’t remember specifically which point release I was on). I can confirm that if I create a project today on my instance or at try.vikunja.io, create a task under it with some old due date, it won’t show up on the ‘overview’ (for instance). But if I have a project that was around since before upgrading with a task that has some ancient due date, it does show up on the ‘overview’.