Steps to reproduce
- So, let’s say in daily note, we have the following :
- [[ProjectA]] #meeting
- lorem ipsum
- lorem ipsum
- [[ProjectB]] lorem ipsum
- [[ProjectA]] #idea lorem ipsum
- Lorem ipsum
- If we go to the backlinks pane of Project A, we will get the following :
Name of the daily note
- [[ProjectA]] #meeting
- lorem ipsum
- lorem ipsum
- [[ProjectA]] #idea lorem ipsum
- Lorem ipsum
- Now, if we would like to get only the backlinks related to #meeting, we would search, in the backlinks pane :
tag:#meeting
Expected results
We should get the following results :
Name of the daily note
- [[ProjectA]] #meeting
- lorem ipsum
- lorem ipsum
Actual results :
Name of the daily note
- [[ProjectA]] #meeting
- lorem ipsum
- lorem ipsum
- [[ProjectA]] #idea lorem ipsum
- Lorem ipsum
Discussion
Not sure why, but is seems that currently, search/filter in the backlinks pane is made at page level, not block level ! So, as long as there is a #meeting in the same page as [[ProjetA]] #idea, it will appear as search result in the backlinks pane.
What I would like is to only find every block containing [[ProjetA]] and #meeting.
A workaround could be :
block:([[ProjectA]] #meeting)
But it unfortunately returns :
Name of the daily note
- [[ProjectA]] #meeting
- lorem ipsum
- lorem ipsum
- [[ProjectA]] #idea lorem ipsum
- Lorem ipsum
And not :
Name of the daily note
- [[ProjectA]] #meeting
- lorem ipsum
- lorem ipsum
For the same reasons supposed above, that is :
search/filter seems to be made at page level, not block level !
So, as long as there is at least one block containing both [[ProjectA]] and #meeting in a page, all [[ProjectA]] occurrences of that page will appear in the backlinks pane of [[ProjectA]].
EDIT :
In addition to that, it seems that in the main search (and not in the backlinks pane search),
block:([[ProjectA]] #meeting)
Will properly return :
Daily note name
-[[ProjectA]] #meeting
(But unless you expand, results are without additional context as in the backlinks pane :
Daily note name
- [[ProjectA]] #meeting
- lorem ipsum
- lorem ipsum
)
So it really seems we are close to getting block-level search in the backlinks pane, either by using block:()
or filter through an inline tag #meeting
.