[PR #1007] [MERGED] fix(kanban): make bucket query fixed per-view #4611

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

📋 Pull Request Information

Original PR: https://github.com/go-vikunja/vikunja/pull/1007
Author: @kolaente
Created: 6/24/2025
Status: Merged
Merged: 6/25/2025
Merged by: @kolaente

Base: mainHead: codex/modify-task_search.go-for-cross-view-buckets


📝 Commits (4)

  • 4960aed test: ensure kanban tasks unique per bucket
  • 7c5e48d fix: fallback join when view id missing
  • 9ae750f test: set view id for task bucket factories
  • abd9d82 fix: indention

📊 Changes

7 files changed (+83 additions, -2 deletions)

View changed files

📝 frontend/cypress/e2e/task/task.spec.ts (+6 -0)
📝 pkg/models/kanban.go (+1 -0)
📝 pkg/models/task_collection.go (+4 -0)
📝 pkg/models/task_position.go (+1 -0)
📝 pkg/models/task_search.go (+14 -2)
pkg/models/task_search_test.go (+56 -0)
📝 pkg/models/tasks.go (+1 -0)

📄 Description

Related to https://github.com/go-vikunja/vikunja/issues/398

Summary

  • pass view ID through task search options
  • join task_buckets with view filter
  • ensure view ID is set when searching tasks for a view
  • add regression test for bucket view filtering

Testing

  • mage lint:fix
  • mage test:feature

https://chatgpt.com/codex/tasks/task_e_685a6eea39708322bd886c6d999941c9
https://chatgpt.com/codex/tasks/task_e_6849cdbafb648322a21cd9c0a73e0d9f


🔄 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/1007 **Author:** [@kolaente](https://github.com/kolaente) **Created:** 6/24/2025 **Status:** ✅ Merged **Merged:** 6/25/2025 **Merged by:** [@kolaente](https://github.com/kolaente) **Base:** `main` ← **Head:** `codex/modify-task_search.go-for-cross-view-buckets` --- ### 📝 Commits (4) - [`4960aed`](https://github.com/go-vikunja/vikunja/commit/4960aedc4cfd6dced6d3aaad13c3002174653964) test: ensure kanban tasks unique per bucket - [`7c5e48d`](https://github.com/go-vikunja/vikunja/commit/7c5e48de2440024a830294154b77bc61bea7704a) fix: fallback join when view id missing - [`9ae750f`](https://github.com/go-vikunja/vikunja/commit/9ae750fc28f11381cab3e81d2ee70ebd00af858d) test: set view id for task bucket factories - [`abd9d82`](https://github.com/go-vikunja/vikunja/commit/abd9d8292d0a123f2c8274e5f51cefe2a88592d0) fix: indention ### 📊 Changes **7 files changed** (+83 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `frontend/cypress/e2e/task/task.spec.ts` (+6 -0) 📝 `pkg/models/kanban.go` (+1 -0) 📝 `pkg/models/task_collection.go` (+4 -0) 📝 `pkg/models/task_position.go` (+1 -0) 📝 `pkg/models/task_search.go` (+14 -2) ➕ `pkg/models/task_search_test.go` (+56 -0) 📝 `pkg/models/tasks.go` (+1 -0) </details> ### 📄 Description Related to https://github.com/go-vikunja/vikunja/issues/398 ## Summary - pass view ID through task search options - join `task_buckets` with view filter - ensure view ID is set when searching tasks for a view - add regression test for bucket view filtering ## Testing - `mage lint:fix` - `mage test:feature` ------ https://chatgpt.com/codex/tasks/task_e_685a6eea39708322bd886c6d999941c9 https://chatgpt.com/codex/tasks/task_e_6849cdbafb648322a21cd9c0a73e0d9f --- <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:10:24 -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#4611