mirror of
https://github.com/zadam/trilium.git
synced 2025-11-14 01:05:49 +01:00
added ancestor depth search criteria
This commit is contained in:
@@ -18,6 +18,7 @@ async function search(note) {
|
||||
const searchContext = new SearchContext({
|
||||
fastSearch: note.hasLabel('fastSearch'),
|
||||
ancestorNoteId: note.getRelationValue('ancestor'),
|
||||
ancestorDepth: note.getLabelValue('ancestorDepth'),
|
||||
includeArchivedNotes: note.hasLabel('includeArchivedNotes'),
|
||||
orderBy: note.getLabelValue('orderBy'),
|
||||
orderDirection: note.getLabelValue('orderDirection'),
|
||||
|
||||
Reference in New Issue
Block a user