mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-18 15:54:50 +00:00
ddc7495542
Also fixes a problem pointed out by @Evolena whereby the advanced search counts hadn’t been adjusted to remove `$:/temp/advancedsearch` from the search.
33 lines
1012 B
Plaintext
33 lines
1012 B
Plaintext
title: $:/core/ui/AdvancedSearch/Standard
|
|
tags: $:/tags/AdvancedSearch
|
|
caption: {{$:/language/Search/Standard/Caption}}
|
|
|
|
\define lingo-base() $:/language/Search/
|
|
<$linkcatcher to="$:/temp/advancedsearch">
|
|
|
|
<<lingo Standard/Hint>>
|
|
|
|
<div class="tc-search"><$edit-text tiddler="$:/temp/advancedsearch" type="search" tag="input"/><$reveal state="$:/temp/advancedsearch" type="nomatch" text=""> <$link to="" class="tc-btn-invisible">{{$:/core/images/close-button}}</$link></$reveal></div>
|
|
|
|
</$linkcatcher>
|
|
|
|
<$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 Standard/Matches>>
|
|
|
|
<$list filter="[!is[system]search{$:/temp/advancedsearch}sort[title]limit[250]] -[[$:/temp/advancedsearch]]" template="$:/core/ui/ListItemTemplate"/>
|
|
|
|
</div>
|
|
|
|
</$set>
|
|
|
|
</$reveal>
|
|
|
|
<$reveal state="$:/temp/advancedsearch" type="match" text="">
|
|
|
|
</$reveal>
|