Re: [tw5] Re: Problem with backlinks not showing up

Hi Stefano,

It seems your filter syntax is wrong.
There is a very simple test, which I always do with my fingers. I add 1 for opening brace and remove on for a closing brace. In the end it needs to be 0.
This does not tell if the filter is valid, but it is a good indicator. If at the end there is a finger left, or “missing” :wink:

I did test it. It should do what you want. See the start of the filter [all[current]... there is only 1 opening brace in front a “all”

<$list filter=[all[current]backlinks[]tag[Task]]>
<$link/>
</$list>

Thanks Mario,

It was my mistake in the post to add an extra bracket. The syntax of my actual filter in my TW5 is exactly as the one you suggested.
In fact, I do get back the names of the tiddlers with explicitly inserted links, which seems to suggest there are no syntax errors. I am just not getting those linked through the tiddler’s fields
And I wasn’t aware the forums had moved—its been a few years since I used Tiddlywiki.
I will repost there (and with the correct syntax, this time!)

This topic is still not showing up at the talk.tiddlywiki.org forum as something we can reply to.

Briefly, I can say: I do believe backlinks is designed to look only for explicit links within the text field of other tiddlers.

It seems you were hoping that the backlinks filter operator would catch links in various other fields, and gestures toward the project in the form of transclusions.

There is a backtranscludes operator (https://tiddlywiki.com/#backtranscludes%20Operator).

You can also have a filter search fields to check for the current (project) tiddler (using a colon and an asterisk directs the search to consider all fields. You could also just use search:project to restrict focus to the project field.

So, something like what’s below should catch the two kinds of connections (to a project, from task tiddlers) that you weren’t seeing with backlinks alone:

{{{ [backlinks[]] [backtranscludes[]] [search:*] +[tag[task]] }}}

Cheers!