Hi @EricShulman,
this is the working code:
\define phrase()
<span style="font-size: 0.7em; font-weight: 600; color: rgba(204, 204, 255, 0.6); border-bottom: 1px solid rgba(204, 204, 255, 0.6);">
//... als Phrase://
</span>
<span style="font-size: 0.7em; color: rgb(144, 238, 144);"><$text text={{{ [!is[system]search::literal{$(searchTiddler)$}count[]] }}}/></span>
<span style="font-size: 0.5em; color: rgba(204, 204, 255, 0.6); margin-left: 2em;"> {{$:/temp/Suche/Phrase!!tag_selection}}</span>
<div class="show_tag_in_search"> ... Suche einschränken auf: <$edit-text tiddler="$:/temp/Suche/Phrase" field=tag_selection placeholder="Gruppe..." tag=input default=""/>
<$button class="tc-btn-invisible" set="$:/temp/Suche/Phrase!!tag_selection" setTo="" tooltip="Suchfeld löschen"> ↺ </$button>
</div>
<$let tag_selection={{$:/temp/Suche/Phrase!!tag_selection}}>
<span style="font-size: 0.5em; color: rgb(144, 238, 144);"> <$text text={{{ [!is[system]search::literal{$(searchTiddler)$}] :filter[enlist{!!tags}prefix<tag_selection>] +[count[]] :filter[<tag_selection>!is[blank]] }}}/> </span>
<ul class="te-nav-list">
<!-- <$list filter="[!is[system]search:*:literal{$(searchTiddler)$}!sort[erstellt]limit[50]]" template="$:/plugins/telmiger/simple-search/ui/ListItemTemplate"/> -->
<$list filter="[!is[system]search:*:literal{$(searchTiddler)$}] :filter[enlist{!!tags}prefix<tag_selection>] +[!sort[erstellt]limit[50]]" template="$:/plugins/telmiger/simple-search/ui/ListItemTemplate">
</ul>
\end
Replacing the $let
part with mentioned code didn’t work → filter with tag_selection
has no effect anymore.
Is this the reason of using $:/temp/Suche/Phrase
?