[GH-ISSUE #2494] Subtasks not shown in custom filters if parent does not match #6688

Closed
opened 2026-04-20 17:16:29 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @fritzbauer on GitHub (Mar 27, 2026).
Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/2494

Pre-submission checklist

  • I have searched for existing open or closed issue reports with the same problem.

Description

Custom filters do not show subtasks, if their criteria matches, but the parents criteria does not match.

Expected behavior

All tasks which match the filter criteria of a smart filter are displayed. All tasks which do not match, are not displayed. Regardless of any relations.

Replication

  1. Add a filter "DO NOW!!!" with the criteria: done = false && priority = 5
  2. Create a "Parent task" with priority medium
  3. Create a task "Subtask" with priority "Do now"
  4. Add the relation to make it a subtask
  5. Check the "DO NOW!!!" filter --> No tasks will be displayed and therefore this urgent task gets overlooked

Thank you very much!

Vikunja Version

Version: v2.2.2-27-a2e19f8d

Browser and version

Chromium 146.0.7680.80 & Edge & 148.0.2

Can you reproduce the bug on the Vikunja demo site?

Yes

Screenshots

Image Image
Originally created by @fritzbauer on GitHub (Mar 27, 2026). Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/2494 ### Pre-submission checklist - [x] I have searched for existing open or closed issue reports with the same problem. ### Description Custom filters do not show subtasks, if their criteria matches, but the parents criteria does not match. ## Expected behavior All tasks which match the filter criteria of a smart filter are displayed. All tasks which do not match, are not displayed. Regardless of any relations. ## Replication 1. Add a filter "DO NOW!!!" with the criteria: `done = false && priority = 5` 2. Create a "Parent task" with priority medium 3. Create a task "Subtask" with priority "Do now" 4. Add the relation to make it a subtask 5. Check the "DO NOW!!!" filter --> No tasks will be displayed and therefore this urgent task gets overlooked Thank you very much! ### Vikunja Version Version: v2.2.2-27-a2e19f8d ### Browser and version Chromium 146.0.7680.80 & Edge & 148.0.2 ### Can you reproduce the bug on the Vikunja demo site? Yes ### Screenshots <img width="1314" height="264" alt="Image" src="https://github.com/user-attachments/assets/3102ff12-3456-4aa2-a6a7-de5ea9cef6a3" /> <img width="1461" height="525" alt="Image" src="https://github.com/user-attachments/assets/a728e6a9-c9b7-4b04-a4c0-8ba0c19030eb" />
Author
Owner

@vikunja-bot-app[bot] commented on GitHub (Apr 3, 2026):

This issue has been fixed in #2528, please check with the next unstable build (should be ready for deployment in ~30min, also on the demo).

<!-- gh-comment-id:4184930668 --> @vikunja-bot-app[bot] commented on GitHub (Apr 3, 2026): This issue has been fixed in #2528, please check with the next unstable build (should be ready for deployment in ~30min, also on [the demo](https://try.vikunja.io)).
Author
Owner

@fritzbauer commented on GitHub (Apr 5, 2026):

Unfortunately this does not solve the issue. Same replication steps still apply. Just tested on try.vikunja.io with Version: v2.2.2-168-4b3b5bb8.

<!-- gh-comment-id:4189399036 --> @fritzbauer commented on GitHub (Apr 5, 2026): Unfortunately this does not solve the issue. Same replication steps still apply. Just tested on try.vikunja.io with Version: v2.2.2-168-4b3b5bb8.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#6688