[PR #2528] [MERGED] fix: show subtasks in saved filter views regardless of parent presence #5704

Closed
opened 2026-04-16 13:49:36 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-vikunja/vikunja/pull/2528
Author: @tink-bot
Created: 4/2/2026
Status: Merged
Merged: 4/3/2026
Merged by: @kolaente

Base: mainHead: fix-subtask-filter-visibility


📝 Commits (3)

  • b342691 test: add failing tests for subtask visibility in filtered views
  • 147adfd fix: show subtasks in saved filter views regardless of parent presence
  • 569f968 fix: pass saved filter context to subtask visibility check

📊 Changes

3 files changed (+60 additions, -1 deletions)

View changed files

📝 frontend/src/components/project/views/ProjectList.vue (+2 -1)
📝 frontend/src/composables/useTaskListFiltering.test.ts (+48 -0)
📝 frontend/src/composables/useTaskListFiltering.ts (+10 -0)

📄 Description

Subtasks were hidden in saved/custom filter views when their parent task was also in the results, because the parent-hiding logic (designed for regular project list views) was applied unconditionally. This adds an isFilteredView flag to skip that logic when viewing tasks through a saved filter.

Fixes #2494


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-vikunja/vikunja/pull/2528 **Author:** [@tink-bot](https://github.com/tink-bot) **Created:** 4/2/2026 **Status:** ✅ Merged **Merged:** 4/3/2026 **Merged by:** [@kolaente](https://github.com/kolaente) **Base:** `main` ← **Head:** `fix-subtask-filter-visibility` --- ### 📝 Commits (3) - [`b342691`](https://github.com/go-vikunja/vikunja/commit/b342691f13eebabb4ae4a18678a7b324115dc630) test: add failing tests for subtask visibility in filtered views - [`147adfd`](https://github.com/go-vikunja/vikunja/commit/147adfdbb6c2bc21191eaa4058c8896d7a34ad19) fix: show subtasks in saved filter views regardless of parent presence - [`569f968`](https://github.com/go-vikunja/vikunja/commit/569f9683c6704466305d98293ff051e8dfbb351b) fix: pass saved filter context to subtask visibility check ### 📊 Changes **3 files changed** (+60 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/components/project/views/ProjectList.vue` (+2 -1) 📝 `frontend/src/composables/useTaskListFiltering.test.ts` (+48 -0) 📝 `frontend/src/composables/useTaskListFiltering.ts` (+10 -0) </details> ### 📄 Description Subtasks were hidden in saved/custom filter views when their parent task was also in the results, because the parent-hiding logic (designed for regular project list views) was applied unconditionally. This adds an `isFilteredView` flag to skip that logic when viewing tasks through a saved filter. Fixes #2494 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-16 13:49:36 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#5704