[tw5] how to filters tags except some

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=<> field=“projectId”
<$list filter=’[tags[]]:and[!tags[Experiment]]’>

<option value=<>><$view field='title'/>

Any idea ;…

Thanks a lot

Regards

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

1 Like