kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Palette manager: sort palettes by name, not description (#3853)
... currently it appears as if there was no sorting logicwikitext-via-macros
rodzic
d068cb3625
commit
2e0b2c8045
|
@ -1,8 +1,8 @@
|
|||
title: $:/snippets/paletteswitcher
|
||||
|
||||
<$linkcatcher to="$:/palette">
|
||||
<div class="tc-chooser"><$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"><div class=<<cls>>><$link to={{!!title}}>''<$view field="name" format="text"/>'' - <$view field="description" format="text"/>{{||$:/snippets/currpalettepreview}}</$link>
|
||||
<div class="tc-chooser"><$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"><div class=<<cls>>><$link to={{!!title}}>''<$view field="name" format="text"/>'' - <$view field="description" format="text"/>{{||$:/snippets/currpalettepreview}}</$link>
|
||||
</div></$set>
|
||||
</$list>
|
||||
</div>
|
||||
</$linkcatcher>
|
||||
</$linkcatcher>
|
||||
|
|
Ładowanie…
Reference in New Issue