feat(memos): sort note lists from Z to A
Add a title Z-A option beside title A-Z on web, Android, iOS, the API, and the desktop sidecar. Pinned notes stay first, and same-title tie breaks stay as they were.
This commit is contained in:
1 parent
942dadc00e
commit
9f0d18ca54
26 files changed
+144
-22
No files matched your search
@@ -176,7 +176,7 @@ const result = await context.notes.query({
|
||||
notebookId: "optional-notebook-id",
|
||||
text: "keyword",
|
||||
tags: ["todo"],
|
||||
sort: "updated-desc", // "updated-desc" | "created-desc" | "title-asc"
|
||||
sort: "updated-desc", // "updated-desc" | "created-desc" | "title-asc" | "title-desc"
|
||||
limit: 50,
|
||||
offset: 0
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user