Hi,
maybe the additional filter could be possible with the additional criteria,
like Mark wrote it in his solution?
But I couldn't manage to put it in the right place of Stef's solution, to
bring it to work.
Here is the full command from Mark's search-solution by multiple tags with
an additional filter (already modified by me to have the choosable tags
shown in expandable groups, to have a count and to show the choosen tags as
their tag-labels):
\define addPrefix() +[tag[
\define addSuffix() ]]
\define finalFilter() [all[tiddlers]] $(myfilter2)$ +[regexp[$(
additionalCriteria)$]]
<$macrocall
$name="toc-tabbed-internal-nav"
tag="TableOfContents"
selectedTiddler="$:/temp/toc/selectedTiddler"
unselectedText="<p>Select a topic in the table of contents. Click the
arrow to expand a topic.</p>"
missingText="<p>Missing tiddler.</p>"
template="CheckboxTemplate"
/>
<$edit-text tiddler=additionalCriteria tag=input size=20 /><p/>
<$vars additionalCriteria={{additionalCriteria}}>
<$set filter="[field:criteria[yes]addprefix<addPrefix>addsuffix<addSuffix>]"
name=myfilter>
<$wikify text=<<myfilter>> name=myfilter2 type=text>
Choosed Tags: <$list filter="[field:criteria[yes]]" storyview="pop"><$set
name="backgroundColor" value={{!!color}}><span style=<<tag-pill-styles>>
class="tc-tag-label">
<$view field="title" format="text" />
<$button message="tm-remove-tag" param={{!!title}} class="tc-btn-invisible
tc-remove-tag-button">×</$button></span>
</$set>
</$list>
<div style="display:inline;"><<show-system>></div>
<$button>Open ''ALL found'' Tiddlers
<$list filter=<<finalFilter>>>
<$action-navigate $to=<<currentTiddler>> $scroll=no/>
</$list>
</$button>
<$count filter=<<finalFilter>> /> matching tiddler:
<$macrocall $name=list-links filter=<<finalFilter>> />
</$wikify>
</$set>
</$vars>
Greetings,
Surya
Am Sonntag, 25. Februar 2018 02:01:59 UTC+1 schrieb Surya:
>
> Hello again,
>
> I still didn't find a complete solution for my Search/Filter by multiple
> Tags.
>
> The most important features in this solution made by Stef I still dind't
> find a solution for:
>
> - 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">
>
> Please could you help me with this.
> Yes, I am asking similar questions in this thread:
> https://groups.google.com/forum/#!topic/tiddlywiki/7xAPwhJ0iwo
> <https://groups.google.com/forum/#%21topic/tiddlywiki/rHugihm1J70>. It is
> for the same goal, but with a completely different approach. So I think, it
> is better, to have these in two different threads, because both have
> completely different approaches.
>
> You can see & play around with both on
>
> - and the other on
> http://suryas-testwiki.tiddlyspot.com/#MultipleTagSearch%20by%20Stef
> (the solution from Stef in this thread)
> <https://groups.google.com/forum/#%21topic/tiddlywiki/rHugihm1J70>.
> All related tiddlers are tagged with "Search by Stef"
> - http://suryas-testwiki.tiddlyspot.com/#MultipleTagSearch%20by%20Mark
> (the solution from Mark S. from this thread
> https://groups.google.com/forum/#!topic/tiddlywiki/7xAPwhJ0iwo). All
> related tiddlers are tagged with "Search by Mark"
>
> I experimented so much with them, but I cannot solve it...
> Thanks for your help!
> 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 [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/57efd425-ec34-4cd4-a351-58d5c4a71b62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.