Am Montag, 17. März 2014 05:23:14 UTC+1 schrieb Stephan Hradek:
>
>
> 1. Create for each importance a tiddler with the importance's name and
> the importance's value as a field
> 2. Make the first list over these tiddler, sorted by importance value
> field
> 3. Make the inner list find those tiddlers havig the importance's name
> in their field
>
>
\define MyFilter()
[tag[$(MyTag)$]itemtype[$(itemtype)$]sort[title]]
\end
<$set name="MyTag" value={{!!title}}>
<$list filter="[has[impval]nsort[impval]]">
<$set name="itemtype" value={{!!title}}>
<div class="tw-menu-list-item">
<$link><$view field="title"/></$link>
</div>
<$list filter=<<MyFilter>>>
<div class="tw-menu-list-subitem">
<$link to={{!!title}}><$view field="title"/></$link>
</div>
</$list>
</$set>
</$list>
</$set>
The problem with sorting in your case is (I guess): "each" does not switch
to your "itemtype", meaning: You don't have a list containing "least
important", "most important"... but you will have one tiddler having one of
the importances.
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.