1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-01-11 09:50:27 +00:00

Fix problem with advanced search counts

Apologies to TiddlyWiki’s translators for disrupting existing work!
This commit is contained in:
Jermolene 2014-05-14 20:12:38 +01:00
parent 81e1af1d35
commit f9f8ad725b
4 changed files with 6 additions and 4 deletions

View File

@ -1,10 +1,12 @@
title: $:/language/Search/
Advanced/Matches: //<small><$count filter={{$:/temp/advancedsearch}}/> matches</small>//
Filter/Caption: Filter
Filter/Hint: Search via a [[filter expression|http://tiddlywiki.com/static/TiddlerFilters.html]]
Filter/Matches: //<small><$count filter={{$:/temp/advancedsearch}}/> matches</small>//
Matches: //<small><$count filter="[!is[system]search{$:/temp/search}]"/> matches</small>//
Shadows/Caption: Shadows
Shadows/Hint: Search for shadow tiddlers
Shadows/Matches: //<small><$count filter="[all[shadows]search{$:/temp/advancedsearch}]"/> matches</small>//
System/Caption: System
System/Hint: Search for system tiddlers
System/Matches: //<small><$count filter="[is[system]search{$:/temp/advancedsearch}]"/> matches</small>//

View File

@ -22,7 +22,7 @@ caption: {{$:/language/Search/Filter/Caption}}
<$reveal state="$:/temp/advancedsearch" type="nomatch" text="">
<div class="tw-search-results">
<<lingo Advanced/Matches>>
<<lingo Filter/Matches>>
<$list filter={{$:/temp/advancedsearch}} template="$:/core/ui/ListItemTemplate"/>
</div>
</$reveal>

View File

@ -15,7 +15,7 @@ caption: {{$:/language/Search/Shadows/Caption}}
<div class="tw-search-results">
<<lingo Advanced/Matches>>
<<lingo Shadows/Matches>>
<$list filter="[all[shadows]search{$:/temp/advancedsearch}sort[title]limit[250]]" template="$:/core/ui/ListItemTemplate"/>

View File

@ -15,7 +15,7 @@ caption: {{$:/language/Search/System/Caption}}
<div class="tw-search-results">
<<lingo Advanced/Matches>>
<<lingo System/Matches>>
<$list filter="[is[system]search{$:/temp/advancedsearch}sort[title]limit[250]]" template="$:/core/ui/ListItemTemplate"/>