add "top" label to keep notes on top, allow sorting by label, #2343

This commit is contained in:
zadam
2021-11-23 23:09:29 +01:00
parent df4cf80be4
commit 211ff90ee8
4 changed files with 61 additions and 17 deletions

View File

@@ -49,6 +49,8 @@ const BUILTIN_ATTRIBUTES = [
{ type: 'label', name: 'mapRootNoteId' },
{ type: 'label', name: 'bookmarked' },
{ type: 'label', name: 'bookmarkFolder' },
{ type: 'label', name: 'sorted' },
{ type: 'label', name: 'top' },
// relation names
{ type: 'relation', name: 'runOnNoteCreation', isDangerous: true },