That works Eric, thank you.
I wonder if the behaviour could be changed a bit so that the first
selection shows the tiddlers with that tag and then the second selection
shows the match- at the moment it will only show tiddlers with a match for
both tags.
I suspect the next request might be less straight forward - it would be
great to be able to type the name of the tag for it to be selected in the
same way as the normal tiddler tagging mechanism. At the moment, typing
will only select the first letter of the tag and then you need to scroll.
Thanks Matabele - I'll look into that too.
Regards
Jon
On Monday, 25 July 2016 22:46:29 UTC+1, Eric Shulman wrote:
>
> On Monday, July 25, 2016 at 1:04:19 PM UTC-7, Jon wrote:
>>
>> I'd like to set something up so that I can apply a filter using drop down
>> lists of the available tags so I can then search for all the tiddlers
>> tagged with both A and B by selecting each tag from the drop down list.
>>
>
> Using standard TiddlyWiki syntax (no plugins):
>
>
>
> Find tiddlers tagged with:
>
> <$select tiddler="$:/temp/tag1">
> <$list filter="[all[]tags[]sort[]]">
> <option value=<<currentTiddler>>><<currentTiddler>></option>
> </$list>
> </$select>
> and
> <$select tiddler="$:/temp/tag2">
> <$list filter="[all[]tags[]sort[]]">
> <option value=<<currentTiddler>>><<currentTiddler>></option>
> </$list>
> </$select>
>
> Found <$count filter="[tag{$:/temp/tag1}tag{$:/temp/tag2}]" /> matching
> tiddlers:
>
> <$list filter="[tag{$:/temp/tag1}tag{$:/temp/tag2}]">
> <li><$link><<currentTiddler>></$link></li>
> </$list>
>
>
> enjoy,
> -e
> Eric Shulman
> TiddlyTools / ELS Design Studios
> InsideTiddlyWiki: The Missing Manuals
>
--
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/be8da018-20b0-47f9-bb5a-cd1163e38dbe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.