I think because they are different operators.

tag[] is its own operator, whereas childof[] is really a shorthand for 
field:childof[].

I think you want the contains[] operator:

<$list filter="[contains:childof<currentTiddler>]"> 

On Monday, 21 June 2021 at 14:06:42 UTC+1 mohamed...@hotmail.com wrote:

> Thanks Tones,
>
>  I am curious why does <$list filter="[tag<currentTiddler>]">   works fine 
> ,  and  <$list filter="[childof<currentTiddler>]">   doesnt ?
>
> they are both fields , so why does one filter work and the other does not.
>
> On Monday, June 21, 2021 at 4:17:30 AM UTC+2 TW Tones wrote:
>
>> Mohamed,
>>
>> You are testing if the whole field value is equal to currentTiddler.
>>
>> Perhaps try the Search operator and name the childof field. Perhaps child 
>> of is also parent. See TocP for some tools to help.
>>
>> Tones
>>
>> On Monday, 21 June 2021 at 11:07:47 UTC+10 mohamed...@hotmail.com wrote:
>>
>>> Hi ,
>>>
>>> I have a Customer filed called "childof"
>>>
>>> I am trying to list all tiddlers that has a value in this filed that 
>>> matches the title field
>>>
>>> <$list filter="[childof<currentTiddler>]">
>>>
>>> This filter is not returning any values , what am i doing wrong?
>>>
>>

-- 
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/04ac7638-75c2-41fa-a2ca-dd7a682bd500n%40googlegroups.com.

Reply via email to