how to filters tags except some

21 views
Skip to first unread message

vpl

unread,
Mar 22, 2022, 5:08:10 AM3/22/22
to TiddlyWiki
Hi,

I'm struggling with a filter expression and look for support ...

I want to propose in a drop down select, a list of existing tags except one
I have the following tags
 - APT
 - SP
 - Experiment

And I would like to display in my drop down, all the tags except the 'Experiment' one

I've tried multiples things but nothing works ...

<$select tiddler=<<currentTiddler>> field="projectId"
<$list filter='[tags[]]:and[!tags[Experiment]]'>
<option value=<<currentTiddler>>><$view field='title'/></option>
</$list>
</$select>

Any idea ;.....

Thanks a lot

Regards

PMario

unread,
Mar 22, 2022, 6:16:32 AM3/22/22
to TiddlyWiki
Hi,
You should try: `[tags[]] -[[Experiment]]` (without the backticks) as the filter. See: https://tiddlywiki.com/#Filter%20Expression near the end of the tiddler.
-mario
Reply all
Reply to author
Forward
0 new messages