From b7c2063f63520151ca93b9750ac92cd6320ada32 Mon Sep 17 00:00:00 2001 From: William Jackson Date: Thu, 24 Dec 2015 09:02:33 +0200 Subject: [PATCH] Added sorting on 'order' field by default What do you think of this idea? --- core/wiki/macros/tabs.tid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/wiki/macros/tabs.tid b/core/wiki/macros/tabs.tid index df39d8f78..4d1a9dfc0 100644 --- a/core/wiki/macros/tabs.tid +++ b/core/wiki/macros/tabs.tid @@ -4,7 +4,7 @@ tags: $:/tags/Macro \define tabs(tabsList,default,state:"$:/state/tab",class,template)
-<$list filter="$tabsList$" variable="currentTab"> +<$list filter="$tabsList$ +[nsort[order]]" variable="currentTab"> <$tiddler tiddler=<> > <$button set=<> setTo=<> default="$default$" selectedClass="tc-tab-selected" tooltip={{!!tooltip}}> <$set name="tv-wikilinks" value="no">