From f9f8ad725b849f6207b2c535fe6f72fe175bfb83 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Wed, 14 May 2014 20:12:38 +0100 Subject: [PATCH] Fix problem with advanced search counts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Apologies to TiddlyWiki’s translators for disrupting existing work! --- core/language/en-GB/Search.multids | 4 +++- core/ui/AdvancedSearch/Filter.tid | 2 +- core/ui/AdvancedSearch/Shadows.tid | 2 +- core/ui/AdvancedSearch/System.tid | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/core/language/en-GB/Search.multids b/core/language/en-GB/Search.multids index 3162d3417..b52ba04f2 100644 --- a/core/language/en-GB/Search.multids +++ b/core/language/en-GB/Search.multids @@ -1,10 +1,12 @@ title: $:/language/Search/ -Advanced/Matches: //<$count filter={{$:/temp/advancedsearch}}/> matches// Filter/Caption: Filter Filter/Hint: Search via a [[filter expression|http://tiddlywiki.com/static/TiddlerFilters.html]] +Filter/Matches: //<$count filter={{$:/temp/advancedsearch}}/> matches// Matches: //<$count filter="[!is[system]search{$:/temp/search}]"/> matches// Shadows/Caption: Shadows Shadows/Hint: Search for shadow tiddlers +Shadows/Matches: //<$count filter="[all[shadows]search{$:/temp/advancedsearch}]"/> matches// System/Caption: System System/Hint: Search for system tiddlers +System/Matches: //<$count filter="[is[system]search{$:/temp/advancedsearch}]"/> matches// diff --git a/core/ui/AdvancedSearch/Filter.tid b/core/ui/AdvancedSearch/Filter.tid index 59faae5b9..9703d9ca6 100644 --- a/core/ui/AdvancedSearch/Filter.tid +++ b/core/ui/AdvancedSearch/Filter.tid @@ -22,7 +22,7 @@ caption: {{$:/language/Search/Filter/Caption}} <$reveal state="$:/temp/advancedsearch" type="nomatch" text="">
-<> +<> <$list filter={{$:/temp/advancedsearch}} template="$:/core/ui/ListItemTemplate"/>
diff --git a/core/ui/AdvancedSearch/Shadows.tid b/core/ui/AdvancedSearch/Shadows.tid index 86bdd7ced..39d170c1c 100644 --- a/core/ui/AdvancedSearch/Shadows.tid +++ b/core/ui/AdvancedSearch/Shadows.tid @@ -15,7 +15,7 @@ caption: {{$:/language/Search/Shadows/Caption}}
-<> +<> <$list filter="[all[shadows]search{$:/temp/advancedsearch}sort[title]limit[250]]" template="$:/core/ui/ListItemTemplate"/> diff --git a/core/ui/AdvancedSearch/System.tid b/core/ui/AdvancedSearch/System.tid index b644f10d6..17d080798 100644 --- a/core/ui/AdvancedSearch/System.tid +++ b/core/ui/AdvancedSearch/System.tid @@ -15,7 +15,7 @@ caption: {{$:/language/Search/System/Caption}}
-<> +<> <$list filter="[is[system]search{$:/temp/advancedsearch}sort[title]limit[250]]" template="$:/core/ui/ListItemTemplate"/>