有没有办法按 tiddlers 后缀过滤搜索结果(来自快速搜索框)?例如,我想搜索“Windows”而不是在结果中看到所有的提琴手都以 .jpg 结尾:windows.jpg 等。版本是 5.1.13
提前致谢
有没有办法按 tiddlers 后缀过滤搜索结果(来自快速搜索框)?例如,我想搜索“Windows”而不是在结果中看到所有的提琴手都以 .jpg 结尾:windows.jpg 等。版本是 5.1.13
提前致谢
找到适合我的解决方案:编辑 tiddler $:/core/ui/DefaultSearchResultLis 并为标题结果和内容结果添加过滤器。例如:
<$list filter="[!is[system]!suffix[.png]!suffix[.jpg]!suffix[.jpeg]!suffix[.PNG]!suffix[.JPG]!suffix[.JPEG]search:title{$(searchTiddler)$}sort[title]limit[250]]" template="$:/core/ui/ListItemTemplate"/>