<$list filter="[range[1,15]]"><$list filter="[<currentTiddler>contains:title[6]]">This is 6</$list></$list>
This is 6--Mohammad--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/91dd3283-0a85-40aa-8a99-73f76493c869%40googlegroups.com.
Hi Mohammad
Why this gives no result
<$list filter="[range[1,15]]"><$list filter="[<currentTiddler>contains:title[6]]">This is 6</$list></$list>I expect on 6 it shows the messageThe “contains” operator works on list fields of tiddlers that exist. Here, the tiddlers “1”, “2”, “3” etc. don’t exist, and so the operator won’t do anything useful.Best wishesJeremy.
This is 6--Mohammad--
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 tiddl...@googlegroups.com.
@JeremyBut according to docs, it should be possible to add a field suffix which Muhammad does: contains:title[6] - ?Is it perhaps because 6 is missing and the operator really searches inside it's title field... which is of course missing? Most(?) other operators can use a title field that in reality is missing.
<:-)
--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/42ce4286-f044-4c5f-88a8-02cbe69eb7a5%40googlegroups.com.
The other restriction I mentioned for the contains operator is that it only works with tiddlers that exist, it doesn’t work when applied to titles that don’t exist as tiddlers.
On 2 Aug 2019, at 15:34, Mat <matia...@gmail.com> wrote:Is there a particular reason for why the contains operator behaves in this way where most other operators don't?