1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-29 22:48:10 +02:00

Desktop: Fixes #11226: Fix reordering notes in custom sort order when some notes are deleted (#11592)

This commit is contained in:
Henry Heino
2025-01-06 09:33:31 -08:00
committed by GitHub
parent e70efcbd60
commit 4d827afccb
2 changed files with 31 additions and 0 deletions

View File

@@ -1030,6 +1030,7 @@ export default class Note extends BaseItem {
FROM notes
WHERE
is_conflict = 0
AND deleted_time = 0
${showCompletedTodos ? '' : 'AND todo_completed = 0'}
AND parent_id = ?
`;