A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
common: sort tags by title in resolved items
Ammar Ahmedddfab272d235
diff --git a/packages/common/src/utils/resolve-items.ts b/packages/common/src/utils/resolve-items.tsindex 3ef124bbd..90cb4a55c 100644--- a/packages/common/src/utils/resolve-items.ts+++ b/packages/common/src/utils/resolve-items.ts@@ -151,7 +151,10 @@ async function resolveNotes(ids: string[]) {notebooks: await db.notebooks.all.records(Array.from(relationIds.notebooks)),- tags: await db.tags.all.records(Array.from(relationIds.tags)),+ tags: await db.tags.all.records(Array.from(relationIds.tags), {+ sortBy: "title",+ sortDirection: "desc"+ }),colors: await db.colors.all.records(Array.from(relationIds.colors)),reminders: await db.reminders.all.records(Array.from(relationIds.reminders)