On Wednesday, May 26, 2021 at 7:15:49 AM UTC-7 JM wrote:

> I want to exclude projects with tasks tagged with 'A'. Somehow it doesn't 
> work out as expected (well it did, something changed and I'm not sure what 
> and why ... :-\ )
> I added !tag[A] in the second filter:
> <$list filter="[tag[project]sort[]]">
>    <$list filter="[tag{!!title}tag[CAD]limit[1]!tag[A]]" 
> variable="has_tasks_with_CAD_tag">
>       <$link>''<$view field="title"/>''</$link><br>
>       <$list filter="[tag{!!title}tag[CAD]sort[]]">
>          <$link /><br>
>       </$list><br>
>    </$list>
> </$list> 
>

You need to put the "!tag[A]" syntax *before* the limit[1], and then also 
add it to the inner filter, like this:

<$list filter="[tag[project]sort[]]">
   <$list filter="[tag{!!title}tag[CAD]!tag[A]limit[1]]" 
variable="has_tasks_with_CAD_tag_and_not_A_tag">
      <$link>''<$view field="title"/>''</$link><br>
      <$list filter="[tag{!!title}tag[CAD]!tag[A]sort[]]">
         <$link /><br>
      </$list><br>
   </$list>
</$list> 

enjoy,
-e

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a8ef0bfc-3c0b-4a5f-bd3b-4aa0a8f7747cn%40googlegroups.com.

Reply via email to