Mark and Alvaro, your help is much appreciated, and you gave the clues 
needed to make it work.
Thank you!
<:-)
On Sunday, February 21, 2021 at 6:15:08 PM UTC+1 Álvaro wrote:

> I think I do other typo
>
> If I don't missunderstand something
>
> <$list filter="[all[tiddlers]!contains:id<value>then[TRUE]unique[]]" > 
>
> El domingo, 21 de febrero de 2021 a las 18:04:55 UTC+1, Álvaro escribió:
>
>> Agggh! I wrote "*all[current]*" but I wanted to write "*all[tiddlers]*"
>>
>> Now i put a more simple example which works in tiddlywikiDOTcom , there 
>> are 6 tiddler with tag "HelloThere", then filter return 6 times "TRUE" but 
>> It was trimmed with (undocumented) unique operator.
>>
>> {{{ [all[tiddlers]contains:tags[HelloThere]then[TRUE]unique[]] }}}
>>
>> If change the field tags to tagss the output of filter is empty.
>>
>> Now you can put your action inside of a listwidget.
>>
>> <$list filter="[all[tiddlers]contains:id<value>then[TRUE]unique[]]" >
>> *Do X*
>> </$list>
>> El domingo, 21 de febrero de 2021 a las 16:11:35 UTC+1, Mark S. escribió:
>>
>>> Try 
>>>
>>> [id<id>then[yes]else[no]compare:string:eq[no]]
>>>
>>> On Sunday, February 21, 2021 at 1:47:35 AM UTC-8 Mat wrote:
>>>
>>>> Need some filter help. Pseudocode:
>>>>
>>>> <$vars value={{foo!!value}}>
>>>> filter=Among all tiddlers with an id field, if there is no tiddler 
>>>> with id:<value> then do X but if there is a tiddler with id:<value> then 
>>>> do nothing
>>>> </$vars>
>>>>
>>>> I assume it is some kind of then ... else construct but I can't quite 
>>>> materialize it and I'm getting confused by how I loose the tiddler titles 
>>>> if I look at their field values. Maybe I need something with the 
>>>> subfilter operator but I'm not sure how... ?
>>>>
>>>> Thank you.
>>>>
>>>> <:-)
>>>>
>>>

-- 
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/8db54b1e-0329-47c8-8185-4f73b3aadfe0n%40googlegroups.com.

Reply via email to