mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 18:05:55 +01:00
fix setting mime after import + cleanup of old search code
This commit is contained in:
@@ -25,6 +25,8 @@ function getNote(req) {
|
||||
|
||||
const contentMetadata = note.getContentMetadata();
|
||||
|
||||
note.contentLength = contentMetadata.contentLength;
|
||||
|
||||
note.combinedUtcDateModified = note.utcDateModified > contentMetadata.utcDateModified ? note.utcDateModified : contentMetadata.utcDateModified;
|
||||
note.combinedDateModified = note.utcDateModified > contentMetadata.utcDateModified ? note.dateModified : contentMetadata.dateModified;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user