mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-04-03 17:26:56 +00:00
Add advanced search button to search results
Clicking on the advanced search ellipsis when there is a search string will open the advanced search tiddler, and copy the current search term to it. Thanks to @Spangenhelm for the idea.
This commit is contained in:
parent
d0a0dd1812
commit
63b00fd0f8
@ -7,7 +7,7 @@ title: $:/core/ui/SideBarLists
|
||||
<$reveal state="$:/temp/search" type="nomatch" text="">
|
||||
<$linkcatcher to="$:/temp/search">
|
||||
<$link to="" class="tc-btn-invisible">{{$:/core/images/close-button}}</$link>
|
||||
</$linkcatcher>
|
||||
</$linkcatcher> <$button tooltip={{$:/language/Buttons/AdvancedSearch/Hint}} aria-label={{$:/language/Buttons/AdvancedSearch/Caption}} class="tc-btn-invisible"><$action-setfield $tiddler="$:/temp/advancedsearch" text={{$:/temp/search}}/><$action-setfield $tiddler="$:/temp/search" text=""/><$action-navigate $to="$:/AdvancedSearch"/>…</$button>
|
||||
</$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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user