Hi Xavier,

I did exactly what you've demonstrated here and got the same results but I 
couldn't get it to work in my own wiki because when I used the {{{ 
[field:tags[A]] }}} example, there were no results - I just thought I 
hadn't included the syntax correctly. Then I realised that as another 
experiment I'd previously tagged every tiddler tagged with A with a 
secondary tag! Oh dear, and I haven't even had a drink yet tonight!!

Sorry for wasting your time and thanks to everyone who's helped.

Jon




On Saturday, 28 June 2014 18:53:03 UTC+1, Xavier wrote:
>
> In order to work on something real, let me replace your *A* tag by *task*: 
> then {{{ [tag[task]] }}} in any tiddler of tiddlywiki.com produces the 
> list: 
>
>  Compose ballad <http://tiddlywiki.com/#Compose%20ballad> 
>  Get the Ring <http://tiddlywiki.com/#Get%20the%20Ring> 
>  Go to Mordor <http://tiddlywiki.com/#Go%20to%20Mordor> 
>  Kill the Dragon <http://tiddlywiki.com/#Kill%20the%20Dragon> 
>  Make the beds <http://tiddlywiki.com/#Make%20the%20beds>
>
> While {{{ [field:tags[task]] }}} produces:
>
> Compose ballad <http://tiddlywiki.com/#Compose%20ballad>
> Get the Ring <http://tiddlywiki.com/#Get%20the%20Ring>
> Kill the Dragon <http://tiddlywiki.com/#Kill%20the%20Dragon>
> Make the beds <http://tiddlywiki.com/#Make%20the%20beds>
>
> Note that Go to Mordor <http://tiddlywiki.com/#Go%20to%20Mordor> 
> disappears because it has an additional *done* tag, while the others only 
> have the *task* one.
>
> So if none is what you expect, what list would you want a filter (or 
> combination of filters) to produce?
>
> X.
>
>
> -- Xavier Cazin
>
>
> On Sat, Jun 28, 2014 at 7:28 PM, Jon <[email protected] <javascript:>> 
> wrote:
>
>> So, {{{ [field:tags[A]] }}} doesn't work
>>
>>
>> On Saturday, 28 June 2014 18:02:28 UTC+1, Jon wrote:
>>>
>>> Hi Xavier,
>>>
>>> Yes, I clicked on the i button and I see what you mean.
>>>
>>> I've played around with Stephan's suggestion, but I just don't know 
>>> enough to make it work.
>>>
>>> This is what I have at the moment {{{ [tag[A]] }}} which is pasted into 
>>> a tiddler. Could you please adapt this to include Stephan's suggestion?
>>>
>>> Thanks, Jon
>>>
>>>
>>>
>>> On Saturday, 28 June 2014 17:50:02 UTC+1, Xavier wrote:
>>>>
>>>>
>>>> Would this mean I would need to enter a field value of "A" into each 
>>>>> tiddler I wanted to filter? If so, that wouldn't be practical either. I 
>>>>> just want to filter on the actual tag.
>>>>>
>>>>
>>>> No, Stephan's solution just works because the tags of a tiddler are 
>>>> actually contained in a field that is called *tags*. You can check 
>>>> that by clicking on the i button next to the tiddler title and then choose 
>>>> the tab *fields*.
>>>>
>>>> Xavier.
>>>>
>>>> It's simply this - to filter tiddlers that only have a single tag eg. 
>>>>>> "A" and only using that tag in the filter (rather than not "B", "C", "D" 
>>>>>> etc.)
>>>>>>
>>>>>
>>>>> I think Stephan already described the syntax for this....
>>>>> [field:tags[A]]
>>>>> which selects all tiddlers whose 'tags' field has a value of "A"
>>>>>
>>>>> Note that this is different from writing
>>>>> [tag[A]]
>>>>> which selects all tiddlers whose 'tags' field *contains* a value of 
>>>>> "A" (along with possibly other tag values)
>>>>>
>>>>> enjoy,
>>>>> -e
>>>>> Eric Shulman
>>>>> TiddlyTools / ELS Design Studios
>>>>>
>>>>> YOUR DONATIONS ARE VERY IMPORTANT!
>>>>> HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
>>>>>    http://TiddlyTools.github.com/fundraising.html#MakeADonation
>>>>>
>>>>> Professional TiddlyWiki Consulting Services...
>>>>> Analysis, Design, and Custom Solutions:
>>>>>    http://www.TiddlyTools.com/#Contact
>>>>>
>>>>
>>>>>  -- 
>>>>> 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 http://groups.google.com/group/tiddlywiki.
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>  -- 
>> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/tiddlywiki.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to