Hi,
bringing this up again ...
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>
This screwed the whole list. Perhaps this isn't the correct way doing this
...
Jens
Eric Shulman schrieb am Donnerstag, 18. Februar 2021 um 11:08:22 UTC+1:
> On Wednesday, February 17, 2021 at 10:35:15 PM UTC-8 JM wrote:
>
>> Something changed. Using my first solution, the space between project
>> title was 'big', as If there was an empty list behind the project title of
>> projects without tasks tagged CAD. Now there is no more space between those
>> projects and the following project.
>>
>
> That's what happens when I post a "solution" without actually trying it
> with some test data!
>
> This should work better:
>
> <$list filter="[tag[project]sort[]]">
> <$list filter="[tag{!!title}tag[CAD]limit[1]]"
> 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>
>
> Notes:
> * moved the "test" $list widget to surround the whole project item to
> suppress display of projects that don't have tasks tagged with CAD
> * restored the explicit <$link>...</$link> for the project item to allow
> bold formatting of the title
>
> -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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/e8223fc5-a7ab-489f-a648-6633de5abc61n%40googlegroups.com.