From 2305385c08152c050946e4502735045a8e30aac1 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Tue, 10 Feb 2015 14:43:09 +0000 Subject: [PATCH] Don't list all tiddlers in tag dropdown in edit template MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @tobibeer I think that this was originally from you. I think it’s problematic listing all available tiddlers for performance and usability reasons. I’ve instead taken advantage of your work to template the tag links by splitting the system and non-system tags. What do you think? --- core/ui/EditTemplate/tags.tid | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/ui/EditTemplate/tags.tid b/core/ui/EditTemplate/tags.tid index 49bbd2efc..c9f65e4c5 100644 --- a/core/ui/EditTemplate/tags.tid +++ b/core/ui/EditTemplate/tags.tid @@ -27,11 +27,11 @@ background-color:$(backgroundColor)$; <$reveal state=<> type="nomatch" text="" default="">
<$linkcatcher set="$:/temp/NewTagName" setTo="" message="tm-add-tag"> -<$list filter="[tags[]search:title{$:/temp/NewTagName}sort[]]"> +<$list filter="[tags[]!is[system]search:title{$:/temp/NewTagName}sort[]]"> {{||$:/core/ui/Components/tag-link}}
-<$list filter="[!is[system]search:title{$:/temp/NewTagName}sort[]]"> +<$list filter="[tags[]is[system]search:title{$:/temp/NewTagName}sort[]]"> {{||$:/core/ui/Components/tag-link}}