1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-10-30 14:46:19 +00:00
TiddlyWiki5/core/ui/SearchResults.tid
2022-04-05 16:48:07 +01:00

18 lines
607 B
Plaintext

title: $:/core/ui/SearchResults
<div class="tc-search-results">
<$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]]'><$transclude mode='block'/></$list>">
<$macrocall $name="tabs"
tabsList="[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]]"
default={{$:/config/SearchResults/Default}}
actions="<$action-setfield $tiddler='$:/state/search/currentTab' text=<<currentTab>>/>"
explicitState="$:/state/tab/search-results/sidebar"/>
</$list>
</div>