So you want Tiddler A: 25 Tiddler B: 16 Tiddler C: 28
but Tiddler D not shown because it has no number field ? The part that's throwing me is the requirement "the numbers for each below". Since each tiddler has only one number field, there is no sub-sort possible and you only have to list the tiddlers that have a number field and display their title and number field. But that seems too easy, so there must be a part that I'm missing. On Friday, May 1, 2020 at 9:06:57 AM UTC-7, Peter Buyze wrote: > > I have a collection of tiddlers, some of which have a field with an > alphanumeric number, some have that field empty. Right now I have a list > that collects the numbers and the corresponding tiddler titles below each > number. This is the script/macro: > > <$list filter="[all[tiddlers]each[number]sortan[number]get[number]]" > variable=value > > __<<value>>__<br> > <$list filter='[all[tiddlers]number<value>sort[]]'> > > </$list> > </$list> > > What I would like is the inverse: I want the tiddler titles (sorted > alphabetically) and the numbers for each below. I don't want to see > tiddlers which have an empty number field. So, I tried this: > > <div class="tc-table-of-contents"> > <<toc-selective-expandable "title" sort[]>> > </div> > <$list filter="[all[tiddlers]each[number]sortan[number]get[number]]" > variable=value > > __<<value>>__<br> > <$list filter='[all[tiddlers]number<value>sort[]]'> > > </$list> > </$list> > > But that does not do it, in fact the toc section is ignored. What am I > doing wrong? > > > -- > Securely sent with Tutanota. Get your own encrypted, ad-free mailbox: > https://tutanota.com > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/b5942261-ad7a-4bbf-92bb-7ae705593c40%40googlegroups.com.

