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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/50f9cc7a-e4e7-4015-8968-092246e1f348n%40googlegroups.com.