[tw5] Re: conditional part of a list widget

2023-05-11 Thread Charlie Veniot
If you want to understand why I wrote the TW script the way I did: The Cartesian Product: understanding what it is and avoiding it like the plague On Thursday, May 11, 2023 at

[tw5] Re: conditional part of a list widget

2023-05-11 Thread Charlie Veniot
BTW: when viewing my previous reply in Google Groups, ignore the triple tick-marks before and after the TW scripting. Those triple tick-marks are only there so that the code, when viewed via the Talk.TiddlyWiki discourse forum, does not get mangled. On Thursday, May 11, 2023 at 10:53:50 AM

[tw5] Re: conditional part of a list widget

2023-05-11 Thread Charlie Veniot
It might not make much of a difference performance-wise, but in my "just in case" mindset, I'd do something like this: ``` <$list filter=" [tag[Background]tag{!!title}] +[sort[]]" counter="myCounter"> <$list filter="[!match[1]]"> <$link><$view field="title"/> <$transclude

[tw5] Re: conditional part of a list widget

2023-05-11 Thread Scott Sauyet
You can use the counter attribute of the list widget, like this: <$list filter=" [tag[Background]tag{!!title}] +[sort[]]" counter="myCounter"> <$link><$view field="title"/> <$transclude mode="block" field="text"/> <$list filter={{{ [!match[yes]] }}}> On Wednesday, May 10,