Fixed #59 - Add a setting to display the short form of links in search results

This commit is contained in:
Simon Cambier
2022-06-03 23:31:55 +02:00
parent d625ae38e1
commit 13ff1e5079
3 changed files with 63 additions and 33 deletions

View File

@@ -252,7 +252,7 @@ export async function addToIndex(file: TAbstractFile): Promise<void> {
// Make the document and index it
const note: IndexedNote = {
basename: file.path,
basename: file.basename,
content,
path: file.path,
aliases: getAliasesFromMetadata(metadata).join(''),