Cheers Stef :-))

Yes yes yes :-))

With that (modified) I got now 90% of my wished MultipleTagSearch fulfilled!

With my modified version I got

   - additional tag-groups with popups with their tags inside
      - for that I needed to remove the "indexes[]]" inside the tag-groups. 
      If I could break something with removing that, please tell me, how I 
could 
      build expandable tag-groups in another way. Or if I had to insert it 
      somewhere else.
   - a count of how many tiddlers are found
   - an "open all found tiddlers"-buttonWhat I couldn't find out, how to 
   add it are two things:
   
This is my modified version of your suggestion:
<$reveal type="nomatch" state="$:/state/SampleReveal1" text="show">

<$button set="$:/state/SampleReveal1" setTo="show">Show group A & 
B</$button>

</$reveal>
<$reveal type="match" state="$:/state/SampleReveal1" text="show">

<$button set="$:/state/SampleReveal1" setTo="hide">Hide group A & 
B</$button>

<$list filter="[[$:/temp/tagsforfiltering][A]][[B]]">
<$checkbox tiddler="$:/temp/tagsforfiltering" index=<<currentTiddler>> 
checked=<<currentTiddler>> unchecked=""> <<currentTiddler>></$checkbox>
</$list>

</$reveal>


<$reveal type="nomatch" state="$:/state/SampleReveal2" text="show">

<$button set="$:/state/SampleReveal2" setTo="show">Show group C</$button>

</$reveal>
<$reveal type="match" state="$:/state/SampleReveal2" text="show">

<$button set="$:/state/SampleReveal2" setTo="hide">Hide group C</$button>

<$list filter="[[$:/temp/tagsforfiltering][C]]">
<$checkbox tiddler="$:/temp/tagsforfiltering" index=<<currentTiddler>> 
checked=<<currentTiddler>> unchecked=""> <<currentTiddler>></$checkbox>
</$list>

</$reveal>



<$button>
<$wikify name="searchterm" text='[<$list 
filter="[[$:/temp/tagsforfiltering]indexes[]]"><$list 
filter="[[$:/temp/tagsforfiltering]getindex<currentTiddler>]" 
variable="tagfound">tag[<<tagfound>>]</$list></$list>]'>
<$action-setfield $tiddler="$:/temp/advancedsearchtagfilter" text=<
<searchterm>>/>
Search
</$wikify>
<$wikify name="tagsforfiltering" text='Tiddlers tagged with<$list 
filter="[[$:/temp/tagsforfiltering]indexes[]]"><$list 
filter="[[$:/temp/tagsforfiltering]getindex<currentTiddler>]" 
variable="tagfound">  <<tagfound>></$list></$list>: '>
<$action-setfield $tiddler="$:/temp/advancedsearchtagfilter" 
tagsforfiltering=<<tagsforfiltering>>/>
</$wikify>
</$button>
<$button>
<$action-deletetiddler $tiddler="$:/temp/tagsforfiltering"/>
<$action-deletetiddler $tiddler="$:/temp/advancedsearchtagfilter"/>
Reset
</$button><br/><br/><br/>


<$button>Open ''ALL found'' Tiddlers
<$list filter={{$:/temp/advancedsearchtagfilter}}>
<$action-navigate $to=<<currentTiddler>> $scroll=no/>
</$list>
</$button>


Matching Tiddlers:
<$count filter={{$:/temp/advancedsearchtagfilter}} 
template="$:/core/ui/ListItemTemplate"/>

<$reveal type="nomatch" state="$:/temp/advancedsearchtagfilter" text="[]">
{{$:/temp/advancedsearchtagfilter!!tagsforfiltering}}
<$list filter={{$:/temp/advancedsearchtagfilter}} 
template="$:/core/ui/ListItemTemplate"/>
</$reveal>
<$reveal type="match" state="$:/temp/advancedsearchtagfilter" text="[]">
No tags selected.</$reveal> 



What I couldn't find out, is how to add two other wishes:

   - Add an additional filter to the results: Filter the results by ratings 
   (the ratings are written into a field called rating with the values 1 2 3 4 
   5)
   - Add an additional filter to the results: Filter the results by prefix 
   of the titles. For example <In this result filter out all titles beginning 
   with "B">

How can I add these additional result-filters?

Thanks a lot for trying to help with my MultipleTagSearch-wish!!
Surya

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/e253d4e7-18b2-42c7-b6c2-3a631b720d4a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to