mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 23:35:50 +01:00
fix searchForNotes API method to look for archived notes as well
This commit is contained in:
@@ -320,6 +320,12 @@ function getEntityChangesRecords(entityChanges) {
|
||||
let length = 0;
|
||||
|
||||
for (const entityChange of entityChanges) {
|
||||
if (entityChange.isErased) {
|
||||
records.push({entityChange});
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
const entity = getEntityChangeRow(entityChange.entityName, entityChange.entityId);
|
||||
|
||||
if (entityChange.entityName === 'options' && !entity.isSynced) {
|
||||
|
||||
Reference in New Issue
Block a user