fix: sort completed main tasks to bottom of list (#15) #18
No reviewers
Labels
No labels
source:analyste
source:defenseur
source:human
source:medic
status:approved
status:blocked
status:in-progress
status:needs-fix
status:ready
status:review
status:triage
type:bug
type:feature
type:infra
type:refactor
type:schema
type:security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: maximus/simpl-liste#18
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/simpl-liste-15-sort-completed-tasks"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
asc(tasks.completed)as the primary sort key ingetOrderClauses()so completed main tasks always sink to the bottom, regardless of the active sort mode (position, priority, dueDate, title, createdAt)asc(tasks.completed), asc(tasks.position)ordering togetSubtasks()intasks.tswidgetSync.tsfor the no-date tasks query and subtasks queryFiles changed
src/db/repository/tasks.ts—getOrderClauses()andgetSubtasks()src/services/widgetSync.ts— noDateTasks query (line 92) and subtasks query (line 120)Fixes #15