Riz,
That is more precise. Thanks
*Unfortunatly I must work on something else, I will leave you with the
following for now and return later*
One would think you could compare tag fields, however the tags may be in a
different order.
So you want to "iterate" the tags field and test each tag exists in the
target tiddler, is it OK if an additional field is in the target?.
- [enlist{!!tags}] will iterate all tags in the current tiddler
- [enlist{!!list}] will iterate all titles in the list field in the
current tiddler, ie items tagged by current Tiddler (if used and the order
was altered)
- I think you may need to nest filters or wistwidgets.
Regards
Tony
On Monday, 4 May 2020 09:59:01 UTC+10, Riz wrote:
>
> Another way to convey my problem is
>
> How will you find all tiddlers which carry the same set of tags
> <<currentTiddler>> carries?
>
> On Mon, 4 May 2020, 05:22 Rizwan Ishak, <[email protected]
> <javascript:>> wrote:
>
>> I thought
>>
>> <$list filter="[get[tags]match{!!list}]"/>
>>
>> would work. Unfortunately no.
>>
>> On Mon, 4 May 2020, 05:11 Rizwan Ishak, <[email protected]
>> <javascript:>> wrote:
>>
>>> We don't know beforehand what titles are there in the list field or how
>>> many.
>>>
>>> So tag[title1]tag[title2]...won't work.
>>>
>>> On Mon, 4 May 2020, 05:08 TonyM, <[email protected] <javascript:>>
>>> wrote:
>>>
>>>> I will just add for clarity
>>>>
>>>> [[tiddler1]] [[tiddler2]] [[tiddler3]]
>>>> Is in effect three (3) Runs
>>>>
>>>> To test these its easier to say
>>>> [[tiddler1]] [[tiddler2]] [[tiddler3]] +[get[fieldname]match[yes]]
>>>>
>>>> Regards
>>>> Tony
>>>>
>>>> On Monday, 4 May 2020 09:31:52 UTC+10, TonyM wrote:
>>>>>
>>>>> Riz
>>>>>
>>>>> We can say [enlist{!!list}] generates the tiddlers you want to test
>>>>> if they have particular tags
>>>>> This is a run, if you want to test each item in that run you either
>>>>> append more filters or use a +[[run]] to apply to each item
>>>>> So the following should be what you are looking for
>>>>>
>>>>> [enlist{!!list}tag[title1]tag[title3]tag[title3]]
>>>>> or
>>>>> [enlist{!!list}] +[tag[tag1]] +[tag[tag2]] +[tag[tag3]]
>>>>>
>>>>> A Common mistake is
>>>>>
>>>>> [enlist{!!list}] [tag[tag1]] [tag[tag2]] [tag[tag3]]
>>>>>
>>>>> This last one is 4 seperate runs that contribute to the output
>>>>>
>>>>> Regards
>>>>> Tony
>>>>>
>>>>>
>>>>> On Monday, 4 May 2020 08:38:14 UTC+10, Riz wrote:
>>>>>>
>>>>>> Say myfield contains a list of 5 titles - I want to find tiddlers
>>>>>> tagged by all of them in combination
>>>>>>
>>>>>> [enlist{!!list}tagging[]]
>>>>>>
>>>>>> This code would list all tiddlers tagged by at least one of them -
>>>>>> tag[title1] or tag[title2] and so on.
>>>>>> I want to find tag[title1] AND tag[title2] AND tag[title3] and so on
>>>>>>
>>>>> --
>>>> You received this message because you are subscribed to a topic in the
>>>> Google Groups "TiddlyWiki" group.
>>>> To unsubscribe from this topic, visit
>>>> https://groups.google.com/d/topic/tiddlywiki/YFjCBU31PJE/unsubscribe.
>>>> To unsubscribe from this group and all its topics, send an email to
>>>> [email protected] <javascript:>.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/tiddlywiki/67e18a3b-c963-4b4a-aa59-ee79e771c9ee%40googlegroups.com
>>>>
>>>> <https://groups.google.com/d/msgid/tiddlywiki/67e18a3b-c963-4b4a-aa59-ee79e771c9ee%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>
--
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/82d13cb6-dbb1-4754-a9ef-6a647c591067%40googlegroups.com.