From 2e0b2c80459d61d20607bd6b197f68dc49a74b54 Mon Sep 17 00:00:00 2001 From: Simon Huber Date: Tue, 12 Mar 2019 10:48:34 +0100 Subject: [PATCH] Palette manager: sort palettes by name, not description (#3853) ... currently it appears as if there was no sorting logic --- core/wiki/paletteswitcher.tid | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/wiki/paletteswitcher.tid b/core/wiki/paletteswitcher.tid index 14c647b55..42cda4481 100644 --- a/core/wiki/paletteswitcher.tid +++ b/core/wiki/paletteswitcher.tid @@ -1,8 +1,8 @@ title: $:/snippets/paletteswitcher <$linkcatcher to="$:/palette"> -
<$list filter="[all[shadows+tiddlers]tag[$:/tags/Palette]sort[description]]"><$set name="cls" filter="[all[current]prefix{$:/palette}]" value="tc-chooser-item tc-chosen" emptyValue="tc-chooser-item">
>><$link to={{!!title}}>''<$view field="name" format="text"/>'' - <$view field="description" format="text"/>{{||$:/snippets/currpalettepreview}} +
<$list filter="[all[shadows+tiddlers]tag[$:/tags/Palette]sort[name]]"><$set name="cls" filter="[all[current]prefix{$:/palette}]" value="tc-chooser-item tc-chosen" emptyValue="tc-chooser-item">
>><$link to={{!!title}}>''<$view field="name" format="text"/>'' - <$view field="description" format="text"/>{{||$:/snippets/currpalettepreview}}
- \ No newline at end of file +