Hi Tim, First things first: I have made a little demo here for you to poke around:
http://doublesort.tiddlyspot.com > I tried your suggestion but seem to be having an issue with the list > operator. > Be sure to use the right terms, when you say "operator", we mostly think you refer to a filter operator <http://tiddlywiki.com/#Filter%20Operators>. It appears you meant to say "list widget <http://tiddlywiki.com/#Widgets>", or ListWidget <http://tiddlywiki.com/#ListWidget>. As for: > Using the following, I get no results: > <$list filter="[tag[client]each[2_surname]sort[2_surname]]" > variable=Surnames> > <$list filter="[tag[client]2_surname<Surnames>sort[1_givenname]]"> > </$list> > </$list> > You use an opening and a closing tag for the *$list* widget. This makes the list widget assume that its contents are to be the item template. Since you have nothing specified, it never actually outputs anything. This won't work: > If I change the syntax to the following I do get results, but the first > tiddler is duplicated: > <$list filter="[tag[client]each[2_surname]sort[2_surname]]" > variable=Surnames /> > <$list filter="[tag[client]2_surname<Surnames>sort[1_givenname]]" /> > ...because the two lists are not nested. What you may think will work is: <$list filter='[tag[client]each[2_surname]sort[2_surname]]' variable=Surname> <$list filter='[tag[client]2_surname<Surname>sort[1_givenname]]'/> </$list> However, Jed forgot a tiny detail in the first filter. We need to actually get the surname: <$list filter='[tag[client]each[2_surname]get[2_surname]sort[]]' variable=Surname> <$list filter='[tag[client]2_surname<Surname>sort[1_givenname]]'/> </$list> Best wishes, — tb -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/8b1b99d2-e91a-492d-9fca-f56bf09d4882%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

