Added to TW-Scripts

On Thursday, June 27, 2019 at 3:49:55 PM UTC+4:30, TonyM wrote:
>
> Only want a list of ingredients?
>
> <$list filter="[tag[food]each[ingredient]get[ingredient]]">
>
> </$list>
>
> <$list filter="[tag[food]get[ingredient]]">
>
> </$list>
> Again untested
>
> Regards
> Tony
>
>
> On Thursday, June 27, 2019 at 9:02:39 PM UTC+10, Chems wrote:
>>
>> hey thanks.
>>
>> My problem is that it will always display the name of the tiddler.
>> But I want to display the value of the field.
>>
>>
>>
>> Am Donnerstag, 27. Juni 2019 12:45:58 UTC+2 schrieb TonyM:
>>>
>>> Chems
>>>
>>> Reading a little between the lines I think you need the each operator 
>>> <https://tiddlywiki.com/#each%20Operator>
>>>
>>> <$list filter="[tag[food]each[ingredient]]">
>>>
>>> </$list>
>>> Above untested
>>>
>>>
>>> Regards
>>> Tony
>>>
>>> On Thursday, June 27, 2019 at 8:33:22 PM UTC+10, Chems wrote:
>>>>
>>>> Hi,
>>>>
>>>> I have a bunch of tiddlers all with the same tag with a field called 
>>>> "ingredient".
>>>> Now I want to have a tiddler, which displays the *value* of the 
>>>> "ingredient" from all tiddlers with the tag.
>>>>
>>>> It should look like this:
>>>> Potatoes
>>>> Carrots
>>>> ...
>>>>
>>>> As I have multiple tiddlers with the same tag, and the same ingredient, 
>>>> I want the list to only show the ingredient one time. 
>>>> Not like this:
>>>> Carrots
>>>> Carrots
>>>> Carrots
>>>> Potatoes
>>>>
>>>> Does anybody know how I can achieve this?
>>>> Thanks in advanced!
>>>>
>>>

-- 
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/4409aba2-9bb6-4a40-bedd-c63c37974d5d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to