You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TiddlyWiki
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?
TW Tones
unread,
Jun 20, 2021, 10:17:30 PM6/20/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TiddlyWiki
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
paulgilbert2000
unread,
Jun 21, 2021, 9:06:42 AM6/21/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TiddlyWiki
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.
Message has been deleted
Si
unread,
Jun 21, 2021, 9:52:17 AM6/21/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TiddlyWiki
Hi Mohamed,
>>>
I am curious why does
<$list filter="[tag<currentTiddler>]"> works fine , and
<$list filter="[childof<currentTiddler>]"> doesnt ?
Because tag[] is a defined operator in TiddlyWiki, and childof[] isn't.
TiddlyWiki treats any unrecognised filter operator as a suffix to the field[] operator. So since childof[] is not an existing operator in TiddlyWiki, it is interpreted as a shorthand for field:childof[].
tag[] is an already existing filter operator, so is not interpreted in this way.
To answer your original question, you probably want the contains[] operator: [contains:childof<currentTiddler>]
paulgilbert2000
unread,
Jun 21, 2021, 6:45:37 PM6/21/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message