Skip to content

Filter by Backlink? #1267

Answered by claremacrae
miles202 asked this question in Q&A
Oct 27, 2022 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Sure.

Consider these tasks:

- [ ] Do stuff for [[tom]]
- [ ] Do stuff for [[tom|tom's project]]

This query works to find tasks with links specified in the two most common ways:

```tasks
(description includes [[tom]]) OR (description includes [[tom|)
```

If you didn't want to hard-code the name of the file being searched for, you could combine the above with a variation of the following from the Tasks' documentation on 'How to get all tasks in the current file':

https://obsidian-tasks-group.github.io/obsidian-tasks/how-to/get-tasks-in-current-file/#using-dataview-to-generate-tasks-blocks---safe-and-convenient

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@miles202
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by miles202
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
scope: backlinks Anything to do with the backlinks displayed in task lists
2 participants