mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
search now supports searching / ordering by note size
This commit is contained in:
@@ -30,6 +30,15 @@ class Note {
|
||||
|
||||
/** @param {Note[]|null} */
|
||||
this.ancestorCache = null;
|
||||
|
||||
// following attributes are filled during searching from database
|
||||
|
||||
/** @param {int} size of the content in bytes */
|
||||
this.contentSize = null;
|
||||
/** @param {int} size of the content and note revision contents in bytes */
|
||||
this.noteSize = null;
|
||||
/** @param {int} number of note revisions for this note */
|
||||
this.revisionCount = null;
|
||||
}
|
||||
|
||||
update(row) {
|
||||
|
||||
Reference in New Issue
Block a user