mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-09-20 00:30:43 +00:00
Move search result count logic out of translations
Also fixes a problem pointed out by @Evolena whereby the advanced search counts hadn’t been adjusted to remove `$:/temp/advancedsearch` from the search.
This commit is contained in:
@@ -13,6 +13,8 @@ caption: {{$:/language/Search/System/Caption}}
|
||||
|
||||
<$reveal state="$:/temp/advancedsearch" type="nomatch" text="">
|
||||
|
||||
<$set name="resultCount" value="""<$count filter="[is[system]search{$:/temp/advancedsearch}] -[[$:/temp/advancedsearch]]"/>""">
|
||||
|
||||
<div class="tc-search-results">
|
||||
|
||||
<<lingo System/Matches>>
|
||||
@@ -21,6 +23,8 @@ caption: {{$:/language/Search/System/Caption}}
|
||||
|
||||
</div>
|
||||
|
||||
</$set>
|
||||
|
||||
</$reveal>
|
||||
|
||||
<$reveal state="$:/temp/advancedsearch" type="match" text="">
|
||||
|
||||
Reference in New Issue
Block a user