Thank you Mark and, yes, that works.

Jeremy.

On Thursday, 5 January 2017 22:58:51 UTC, Mark S. wrote:
>
> This seems to do it:
>
> <$list filter="[tag{!!tag-required}sort[title]]">
>  <$link to={{!!title}}><$view field="title"/></$link> <$view 
> field={{language!!language}}/><br/>
> </$list>
>
>
> Note that you can use a transcluded field inside a filter by substituting 
> single curly brackets for the inner square brackets.
>
> HTH
> Mark
>
>
> On Thursday, January 5, 2017 at 2:44:45 PM UTC-8, Jeremy Wheeler wrote:
>>
>>
>> I’ve just installed tiddlywiki and I’m loving it. I’ve started a project 
>> I’ve been meaning to tackle for years...
>>
>> ... but I’m stuck. In some fine-tuning I want to filter the input to a 
>> list using one of the Tiddler’s field values (tag-required) but I can’t see 
>> how to do it. 
>>
>> In the following example (from a macro) I can //display// the field value 
>> and I can //filter// using currentTiddler...
>>
>> ```
>> {{!!tag-required}}
>>
>> <$list filter="[tag[$(currentTiddler)$]sort[title]]">
>>  <$link to={{!!title}}><$view field="title"/></$link> <$view 
>> field={{language!!language}}/><br>
>> </$list>
>> ```
>> ... but I want to filter on the value of tag-required. Crudely speaking, 
>> I want to replace... 
>>
>> ```
>> $(currentTiddler)$
>> ```
>> ... in the filter by...
>>
>> ```
>> {{!!tag-required}}
>>
>> ```
>> ... but I can’t find the syntax to do it. I’ve tried support pages and 
>> guesswork but I’ve not found the answer. Have I overlooked the obvious or 
>> am I barking up the wrong tree?
>>
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/67042604-5c52-40a3-a5fe-c7fe8b06199b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to