mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
notes_tree is now soft deleted as well
This commit is contained in:
@@ -19,7 +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 "
|
||||
+ "where notes.is_deleted = 0 and notes_tree.is_deleted = 0 "
|
||||
+ "order by note_pid, note_pos");
|
||||
|
||||
const root_notes = [];
|
||||
|
||||
Reference in New Issue
Block a user