The symbols || are not used for "or" in filter runs. There's a new symbol 
for "else". Try:

[is[current]tag[project]]~[is[current]tag[task]]

This will still run if a project happens to have both "project" and "task", 
if that's OK.

Good luck!

On Friday, February 28, 2020 at 11:49:18 AM UTC-8, Bastian wrote:
>
> Hi,
>
> I enhanced the tiddler template where I added some content, that should 
> only be displayed when the current tiddler has one of two tags.
> The tags are either "project" or "task".
>
> I have set up this list filter:
>
> <$list filter="[is[current]tag[project] || is[current]tag[task]]"> 
>
>  content for tiddlers with either project or task tag
>
> </$list> 
>
>
> but it just won't work.
> I also tried different positions of the brackets but either the content is 
> displayed for every tiddler or for none.
>
> How can I make a filter for the current tiddler that only triggers if the 
> current tiddler has one of two tags?
>
> Best
> Bastian 
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5416b313-aa12-4203-9682-1388dc1ff0c3%40googlegroups.com.

Reply via email to