commit b113eac1740c48ee5bb0eaed2176ebee67ae180b
parent 6e07bf9f60f85268a1e9c210918537b429875994
Author: Michael Camilleri <[email protected]>
Date: Wed, 25 Feb 2026 17:31:28 +0900
Fix sort ordering
Co-Authored-By: Codex GPT 5.3 <[email protected]>
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ListlessMac/Views/TaskListView.swift b/ListlessMac/Views/TaskListView.swift
@@ -34,7 +34,7 @@ struct TaskListView: View {
@FetchRequest(
sortDescriptors: [
NSSortDescriptor(keyPath: \TaskItem.isCompleted, ascending: true),
- NSSortDescriptor(keyPath: \TaskItem.createdAt, ascending: true),
+ NSSortDescriptor(keyPath: \TaskItem.sortOrder, ascending: true),
],
animation: .default
)
diff --git a/ListlessiOS/Views/TaskListView.swift b/ListlessiOS/Views/TaskListView.swift
@@ -37,7 +37,7 @@ struct TaskListView: View {
@FetchRequest(
sortDescriptors: [
NSSortDescriptor(keyPath: \TaskItem.isCompleted, ascending: true),
- NSSortDescriptor(keyPath: \TaskItem.createdAt, ascending: true),
+ NSSortDescriptor(keyPath: \TaskItem.sortOrder, ascending: true),
],
animation: .default
)