2014-10-27 18:38:34 +00:00
|
|
|
title: $:/core/ui/DefaultSearchResultList
|
|
|
|
tags: $:/tags/SearchResults
|
|
|
|
caption: {{$:/language/Search/DefaultResults/Caption}}
|
2020-10-23 14:58:34 +00:00
|
|
|
first-search-filter: [!is[system]search:title<userInput>sort[title]limit[250]]
|
|
|
|
second-search-filter: [!is[system]search<userInput>sort[title]limit[250]]
|
2014-10-27 18:38:34 +00:00
|
|
|
|
|
|
|
\define searchResultList()
|
2022-04-06 07:27:05 +00:00
|
|
|
\whitespace trim
|
2015-10-18 09:09:41 +00:00
|
|
|
//<small>{{$:/language/Search/Matches/Title}}</small>//
|
2014-11-10 19:52:37 +00:00
|
|
|
|
2020-10-23 14:58:34 +00:00
|
|
|
<$list filter="[<userInput>minlength[1]]" variable="ignore">
|
2024-08-30 09:39:33 +00:00
|
|
|
<$list filter={{{ [<configTiddler>get[first-search-filter]] }}} emptyMessage={{$:/language/Search/Matches/NoResult}}>
|
2020-07-13 16:42:55 +00:00
|
|
|
<span class={{{[<currentTiddler>addsuffix[-primaryList]] -[<searchListState>get[text]] +[then[]else[tc-list-item-selected]] }}}>
|
|
|
|
<$transclude tiddler="$:/core/ui/ListItemTemplate"/>
|
|
|
|
</span>
|
|
|
|
</$list>
|
2020-10-23 14:58:34 +00:00
|
|
|
</$list>
|
2014-11-10 19:52:37 +00:00
|
|
|
|
2015-10-18 09:09:41 +00:00
|
|
|
//<small>{{$:/language/Search/Matches/All}}</small>//
|
2014-11-10 19:52:37 +00:00
|
|
|
|
2020-10-23 14:58:34 +00:00
|
|
|
<$list filter="[<userInput>minlength[1]]" variable="ignore">
|
2024-08-30 09:39:33 +00:00
|
|
|
<$list filter={{{ [<configTiddler>get[second-search-filter]] }}} emptyMessage={{$:/language/Search/Matches/NoResult}}>
|
2020-07-13 16:42:55 +00:00
|
|
|
<span class={{{[<currentTiddler>addsuffix[-secondaryList]] -[<searchListState>get[text]] +[then[]else[tc-list-item-selected]] }}}>
|
|
|
|
<$transclude tiddler="$:/core/ui/ListItemTemplate"/>
|
|
|
|
</span>
|
|
|
|
</$list>
|
2020-10-23 14:58:34 +00:00
|
|
|
</$list>
|
2015-09-27 21:53:40 +00:00
|
|
|
|
2014-10-27 18:38:34 +00:00
|
|
|
\end
|
|
|
|
<<searchResultList>>
|