mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-19 00:04:51 +00:00
Update advanced search standard to use search tabs
We reuse the tabs introduced for the sidebar search results
This commit is contained in:
parent
8260d000be
commit
157f8faa6b
@ -12,21 +12,13 @@ caption: {{$:/language/Search/Standard/Caption}}
|
|||||||
</$linkcatcher>
|
</$linkcatcher>
|
||||||
|
|
||||||
<$reveal state="$:/temp/advancedsearch" type="nomatch" text="">
|
<$reveal state="$:/temp/advancedsearch" type="nomatch" text="">
|
||||||
|
<$set name="searchTiddler" value="$:/temp/advancedsearch">
|
||||||
<$set name="resultCount" value="""<$count filter="[!is[system]search{$:/temp/advancedsearch}] -[[$:/temp/advancedsearch]]"/>""">
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]butfirst[]limit[1]]" emptyMessage="""
|
||||||
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]]">
|
||||||
<div class="tc-search-results">
|
<$transclude/>
|
||||||
|
</$list>
|
||||||
<<lingo Standard/Matches>>
|
""">
|
||||||
|
<$macrocall $name="tabs" tabsList="[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]]" default={{$:/config/SearchResults/Default}}/>
|
||||||
<$list filter="[!is[system]search{$:/temp/advancedsearch}sort[title]limit[250]] -[[$:/temp/advancedsearch]]" template="$:/core/ui/ListItemTemplate"/>
|
</$list>
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</$set>
|
</$set>
|
||||||
|
|
||||||
</$reveal>
|
|
||||||
|
|
||||||
<$reveal state="$:/temp/advancedsearch" type="match" text="">
|
|
||||||
|
|
||||||
</$reveal>
|
</$reveal>
|
||||||
|
Loading…
Reference in New Issue
Block a user