1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-13 13:29:56 +00:00

Merge pull request #1394 from tobibeer/use-filter-tiddler

changed tabs to use same filters as AdvancedSearch
This commit is contained in:
Jeremy Ruston 2015-01-27 13:39:14 +00:00
commit 3ec87a5c9c
10 changed files with 14 additions and 8 deletions

View File

@ -11,3 +11,4 @@ SystemTiddlers: System tiddlers
ShadowTiddlers: Shadow tiddlers
OverriddenShadowTiddlers: Overridden shadow tiddlers
SystemTags: System tags
TypedTiddlers: Non wiki-text tiddlers

View File

@ -0,0 +1,5 @@
title: $:/core/Filters/TypedTiddlers
tags: $:/tags/Filter
filter: [!is[system]has[type]each[type]sort[type]] -[type[text/vnd.tiddlywiki]]
description: {{$:/language/Filters/TypedTiddlers}}

View File

@ -2,4 +2,4 @@ title: $:/core/ui/MoreSideBar/All
tags: $:/tags/MoreSideBar
caption: {{$:/language/SideBar/All/Caption}}
<$list filter="[!is[system]sort[title]]" template="$:/core/ui/ListItemTemplate"/>
<$list filter={{$:/core/Filters/AllTiddlers!!filter}} template="$:/core/ui/ListItemTemplate"/>

View File

@ -2,4 +2,4 @@ title: $:/core/ui/MoreSideBar/Drafts
tags: $:/tags/MoreSideBar
caption: {{$:/language/SideBar/Drafts/Caption}}
<$list filter="[has[draft.of]sort[title]]" template="$:/core/ui/ListItemTemplate"/>
<$list filter={{$:/core/Filters/Drafts!!filter}} template="$:/core/ui/ListItemTemplate"/>

View File

@ -2,4 +2,4 @@ title: $:/core/ui/MoreSideBar/Missing
tags: $:/tags/MoreSideBar
caption: {{$:/language/SideBar/Missing/Caption}}
<$list filter="[all[missing]sort[title]]" template="$:/core/ui/MissingTemplate"/>
<$list filter={{$:/core/Filters/Missing!!filter}} template="$:/core/ui/MissingTemplate"/>

View File

@ -2,4 +2,4 @@ title: $:/core/ui/MoreSideBar/Orphans
tags: $:/tags/MoreSideBar
caption: {{$:/language/SideBar/Orphans/Caption}}
<$list filter="[all[orphans]sort[title]]" template="$:/core/ui/ListItemTemplate"/>
<$list filter={{$:/core/Filters/Orphans!!filter}} template="$:/core/ui/ListItemTemplate"/>

View File

@ -2,4 +2,4 @@ title: $:/core/ui/MoreSideBar/Shadows
tags: $:/tags/MoreSideBar
caption: {{$:/language/SideBar/Shadows/Caption}}
<$list filter="[all[shadows]sort[title]]" template="$:/core/ui/ListItemTemplate"/>
<$list filter={{$:/core/Filters/ShadowTiddlers!!filter}} template="$:/core/ui/ListItemTemplate"/>

View File

@ -2,4 +2,4 @@ title: $:/core/ui/MoreSideBar/System
tags: $:/tags/MoreSideBar
caption: {{$:/language/SideBar/System/Caption}}
<$list filter="[is[system]sort[title]]" template="$:/core/ui/ListItemTemplate"/>
<$list filter={{$:/core/Filters/SystemTiddlers!!filter}} template="$:/core/ui/ListItemTemplate"/>

View File

@ -16,7 +16,7 @@ caption: {{$:/language/SideBar/Tags/Caption}}
</$set>
<$list filter="[tags[]!is[system]sort[title]]">
<$list filter={{$:/core/Filters/AllTags!!filter}}>
<$transclude tiddler="$:/core/ui/TagTemplate"/> <small class="tc-menu-list-count"><$count filter="[all[current]tagging[]]"/></small>

View File

@ -2,7 +2,7 @@ title: $:/core/ui/MoreSideBar/Types
tags: $:/tags/MoreSideBar
caption: {{$:/language/SideBar/Types/Caption}}
<$list filter="[!is[system]has[type]each[type]sort[type]] -[type[text/vnd.tiddlywiki]]">
<$list filter={{$:/core/Filters/TypedTiddlers!!filter}}>
<div class="tc-menu-list-item">
<$view field="type"/>
<$list filter="[type{!!type}!is[system]sort[title]]">