Added to TW-Scripts.
Many thanks Eric.
Works like a charm!
--Mohammad
On Friday, January 10, 2020 at 11:03:49 AM UTC+3:30, Eric Shulman wrote:
>
> On Thursday, January 9, 2020 at 9:29:42 PM UTC-8, Mohammad wrote:
>>
>> This may be redundant question but I have not found anything in the forum
>>
>>
>> - Consider you have several tiddlers all tagged with myTag
>> - These tiddlers have different fields like fa, fb, fc, fd, etc...
>> - Not all of them have all above fields But all of them have common
>> fields means all have for example fb, and fd
>>
>> Question
>>
>> - How one can list and display the common fields only? (here fb, and
>> fd)
>>
>> Try this:
> <$vars tiddlerCount={{{ [tag[myTag]count[]] }}}>
> <$list filter="[tag[myTag]fields[]]" variable="thisField">
> <$vars fieldCount={{{ [tag[myTag]has:field<thisField>count[]] }}}>
> <$reveal default=<<fieldCount>> type="match" text=<<tiddlerCount>>>
> <<thisField>>
> </$reveal>
> </$vars>
> </$list>
> </$vars>
>
> let me know how it goes,
> -e
>
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/54191650-8d16-4209-b610-be6a25cad505%40googlegroups.com.