On Monday, July 20, 2020 at 9:03:52 AM UTC-7, Jake wrote: > > <$list filter="[tag[Comedy]!sort[releasedate]]" variable="title"> > <$list filter="[<title>get[releasedate]compare:integer:gteq[20200701]then > <title>]"> > > <ul> <li> <$link/> <$transclude tiddler={{{ > [<currentTiddler>get[rating]addsuffix[-icon]] > }}} /> (<$view field="releasedate" format="date" template="0DD.0MM.YYYY"/>) > </li> </ul> > > </$list> > </$list> > Though... a little additional question: how to count those?.. if I had one > filter I would just put it here <$count filter="MyFilter"/> but here are > two filters... with a variable... so I'm a bit confused... >
Try this: \define getItems() <$list filter="[tag[Comedy]!sort[releasedate]]" variable="title"> <$list filter= "[<title>get[releasedate]compare:integer:gteq[20200701]then<title>]"> <$text text="[["/><$text text=<<currentTiddler>>/><$text text="]]"/> </$list> </$list> \end \define showItem() <li> <$link/> <$transclude tiddler={{{ [<currentTiddler>get[rating]addsuffix[-icon]] }}} /> (<$view field="releasedate" format="date" template="[UTC]0DD.0MM.YYYY"/>) </li> \end <$wikify name="theList" text=<<getItems>>> There are <$count filter=<<theList>> /> items:<br> <ul><$list filter=<<theList>>><<showItem>></$list></ul> </$wikify> The getItems() macro does the 2-step filter and simply outputs the titles, each enclosed in "[[" and "]]" to account for any titles with spaces. The $wikify widget then invokes <<getItems>> and captures the output into a variable, "theList". You can then pass that captured list to the $count widget to show the number of results and then also use it in a $list widget to iterate over all the titles and display them using the desired formatting. notes: * The <ul>...</ul> is *outside* the output $list because you only need it ONCE to show all the bullets. * The showItem() macro is used just to make the code easier to read. -e -- 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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/cf4a6de9-6255-4d37-85f8-f91466f526c6o%40googlegroups.com.