mirror of
https://github.com/zadam/trilium.git
synced 2025-12-23 00:29:59 +01:00
notes are now soft-deleted
This commit is contained in:
@@ -19,6 +19,7 @@ router.get('/', auth.checkApiAuth, async (req, res, next) => {
|
||||
+ "from notes_tree "
|
||||
+ "join notes on notes.note_id = notes_tree.note_id "
|
||||
+ "left join notes as clone on notes.note_clone_id = clone.note_id "
|
||||
+ "where notes.is_deleted = 0 "
|
||||
+ "order by note_pid, note_pos");
|
||||
|
||||
const root_notes = [];
|
||||
|
||||
Reference in New Issue
Block a user