Selflink in query does not update

Inside the file “test”
LIST title from outgoing([[test]])
works as expected.

But if i rename test to test2 the list is empty.
The query did not change, it still looks for links in test.

Automatically update internal links is enabled.

Is there a way I can rewrite this to update automatically ?

Links inside frontmatter fields or inside code block don’t auto-update.
In your case (a query inside test to list all outgoing links from that note) you can use this:

LIST
FROM outgoing([[]])

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.