mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-04-24 22:25:15 +00:00
Fixes #724 - Tasks in saved filter views get `position: 0` when they first appear in the filter, causing drag-and-drop sorting to not persist correctly. **Changes:** - Remove harmful `Position: 0` inserts from cron job and `SavedFilter.Update` - `RecalculateTaskPositions` already creates positions with proper values, so the intermediate inserts created a race window - Add on-demand position creation when fetching tasks for saved filter views - safety net for newly matching tasks before the cron runs - Add 5 new tests covering the fix and regression scenarios 🐰 Positions once zero, now bloom with care, Sorted with grace, no more despair, When filters call and tasks appear, Numbers spring up, crystal clear! Issue 724 hops away— Sorting's fixed to stay, hooray! 🎉