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.
39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
title: $:/core/ui/SideBarLists
|
|
|
|
<div class="tc-sidebar-lists">
|
|
|
|
<div class="tc-search">
|
|
<$edit-text tiddler="$:/temp/search" type="search" tag="input"/>
|
|
<$reveal state="$:/temp/search" type="nomatch" text="">
|
|
<$linkcatcher to="$:/temp/search">
|
|
<$link to="" class="tc-btn-invisible">{{$:/core/images/close-button}}</$link>
|
|
</$linkcatcher>
|
|
</$reveal>
|
|
<$reveal state="$:/temp/search" type="match" text=""> <$link to="$:/AdvancedSearch" tooltip={{$:/language/Buttons/AdvancedSearch/Hint}} aria-label={{$:/language/Buttons/AdvancedSearch/Caption}} class="tc-btn-invisible">…</$link>
|
|
</$reveal>
|
|
</div>
|
|
|
|
<$reveal state="$:/temp/search" type="nomatch" text="">
|
|
|
|
<div class="tc-search-results">
|
|
|
|
<$set name="resultCount" value="""<$count filter="[!is[system]search{$:/temp/search}]"/>""">
|
|
|
|
{{$:/language/Search/Matches}}
|
|
|
|
</$set>
|
|
|
|
<$list filter="[!is[system]search{$:/temp/search}sort[title]limit[250]]" template="$:/core/ui/ListItemTemplate"/>
|
|
|
|
</div>
|
|
|
|
</$reveal>
|
|
|
|
<$reveal state="$:/temp/search" type="match" text="">
|
|
|
|
<<tabs "[all[shadows+tiddlers]tag[$:/tags/SideBar]!has[draft.of]]" "$:/core/ui/SideBar/Open" "$:/state/tab/sidebar">>
|
|
|
|
</$reveal>
|
|
|
|
</div>
|