diff --git a/lib/Service/SettingsService.php b/lib/Service/SettingsService.php index 22b341ee4..41ce2c8d6 100644 --- a/lib/Service/SettingsService.php +++ b/lib/Service/SettingsService.php @@ -69,6 +69,7 @@ public function __construct( return '.' . $out; }, ], + 'sortMode' => $this->getListAttrs('sortMode', ['modified', 'title']), ]; } diff --git a/src/components/NotesView.vue b/src/components/NotesView.vue index f9a93235b..3d52aa76e 100644 --- a/src/components/NotesView.vue +++ b/src/components/NotesView.vue @@ -14,22 +14,40 @@ {{ t('notes', 'New note') }} - +
+ + + + + + {{ t('notes', 'Sort by modification date') }} + + + + {{ t('notes', 'Sort alphabetically') }} + + +
- -