[PR #701] [MERGED] fix(db): refactor filtering with subqueries #6917

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

📋 Pull Request Information

Original PR: https://github.com/go-vikunja/vikunja/pull/701
Author: @vovochka404
Created: 4/24/2025
Status: Merged
Merged: 5/12/2025
Merged by: @kolaente

Base: mainHead: fix/refactor-filter


📝 Commits (1)

  • 327e5e1 fix(db): refactor filtering with subqueries

📊 Changes

3 files changed (+193 additions, -111 deletions)

View changed files

📝 pkg/models/task_collection_test.go (+102 -0)
📝 pkg/models/task_search.go (+91 -91)
📝 pkg/models/tasks.go (+0 -20)

📄 Description

This refactoring allows correctly apply positive and negative filtering to all sub-queries.

Fixes #285


🔄 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/701 **Author:** [@vovochka404](https://github.com/vovochka404) **Created:** 4/24/2025 **Status:** ✅ Merged **Merged:** 5/12/2025 **Merged by:** [@kolaente](https://github.com/kolaente) **Base:** `main` ← **Head:** `fix/refactor-filter` --- ### 📝 Commits (1) - [`327e5e1`](https://github.com/go-vikunja/vikunja/commit/327e5e15c58dde6b6b4697599108a7c2ca3f1c8d) fix(db): refactor filtering with subqueries ### 📊 Changes **3 files changed** (+193 additions, -111 deletions) <details> <summary>View changed files</summary> 📝 `pkg/models/task_collection_test.go` (+102 -0) 📝 `pkg/models/task_search.go` (+91 -91) 📝 `pkg/models/tasks.go` (+0 -20) </details> ### 📄 Description This refactoring allows correctly apply positive and negative filtering to all sub-queries. Fixes #285 --- <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-20 17:25:29 -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#6917