mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 13:56:11 +01:00
wip
This commit is contained in:
@@ -83,6 +83,8 @@ async function fillInAdditionalProperties(sync) {
|
||||
sync.noteId = await sql.getValue(`SELECT noteId
|
||||
FROM note_revisions
|
||||
WHERE noteRevisionId = ?`, [sync.entityId]);
|
||||
} else if (sync.entityName === 'note_reordering') {
|
||||
sync.positions = await sql.getMap(`SELECT branchId, notePosition FROM branches WHERE isDeleted = 0 AND parentNoteId = ?`, [sync.entityId]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user