mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
note autocomplete and full text search should be able to find notes by noteId
This commit is contained in:
parent
427ce3972e
commit
513748836e
@ -50,6 +50,12 @@ function findNotes(query) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (const noteId of noteIds) {
|
for (const noteId of noteIds) {
|
||||||
|
// autocomplete should be able to find notes by their noteIds as well (only leafs)
|
||||||
|
if (noteId === query) {
|
||||||
|
search(noteId, [], [], results);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// for leaf note it doesn't matter if "archived" label inheritable or not
|
// for leaf note it doesn't matter if "archived" label inheritable or not
|
||||||
if (noteId in archived) {
|
if (noteId in archived) {
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user