Using transclusion in a filter has a special syntax -- just put the item in
single curly brackets instead of bracket and double curlies . So your
filter now looks like:
*<$list
filter='[all[shadows+tiddlers]tag[WikiText]search{$:/temp/searchterm}sort[title]]'>*
HTH
Mark
On Friday, April 1, 2016 at 2:06:54 PM UTC-7, Stephen Kimmel wrote:
>
> A regular search generates a list of links. Instead of that I want to
> populate a $Select widget list. I've been able to populate the $Select
> widget list from a $List that includes a search operator that has a hard
> coded entry in the filter using something like this
>
> <$select>
> <$list
> filter='[all[shadows+tiddlers]tag[WikiText]search[quote]sort[title]]'>
> <option value=<<currentTiddler>>><$view field='caption'/></option>
> </$list>
> </$select>
>
> but nothing I've tried has allowed me to put something changeable in there
> like.
>
> <$list
> filter='[all[shadows+tiddlers]tag[WikiText]search[{{$:/temp/searchterm}}]sort[title]]'>
>
> My luck with variables hasn't been any better.
>
> <$list
> filter='[all[shadows+tiddlers]tag[WikiText]search[<<searchterm>>]sort[title]]'>
>
> This seems like it ought to be a straightforward problem but it has me
> stumped. Anyone out there have a way of doing this?
>
--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/34e10284-bb54-4318-b66a-d53d9619d539%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.