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
todo: add tests for groupBy
thecodrraf851bc6a71f
diff --git a/packages/core/api/database.js b/packages/core/api/database.jsindex 7a4856ac6..c939ca4c7 100644--- a/packages/core/api/database.js+++ b/packages/core/api/database.js@@ -54,6 +54,7 @@ class Database {* @param {string} by One from 'abc', 'month', 'year' or 'week'. Leave it empty for default grouping.*/groupNotes(by) {+ //TODO add testslet notes = this.getNotes();switch (by) {case "abc":