[tw5] Re: Filter comparison operators

2020-03-10 Thread Hubert
Hi David, <$list filter="[tag[blah]has[year](somehow)year<19]"> > > > I know you're looking specifically for a filter operator. But for the time being, is there any reason why you wouldn't settle for the reveal widget? This should work based on your code above. You can use that for multiple o

[tw5] Re: Filter comparison operators

2020-03-09 Thread TonyM
Mat, > > Yeah, but that's the only solved one. This thread here is about "less > than", which is also brought up, among other comparison ops, in the issue > thread. > > <:-) > I understand, and would like such comparison filters yet I would remind readers of opportunities already available

[tw5] Re: Filter comparison operators

2020-03-09 Thread Mat
TonyM wrote: > > The match operator is effectively the equals operator the git hub issue > raises > Yeah, but that's the only solved one. This thread here is about "less than", which is also brought up, among other comparison ops, in the issue thread. <:-) > -- You received this message bec

[tw5] Re: Filter comparison operators

2020-03-08 Thread TonyM
Mat The match operator is effectively the equals operator the git hub issue raises Are there others? regards Tony -- 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 t

[tw5] Re: Filter comparison operators

2020-03-08 Thread David Allen
That worked, though I needed to add a list to make sure the count wasn't zero. On Wednesday, March 4, 2020 at 12:01:40 AM UTC-6, Mat wrote: > > Comparison operators is/has been discussed > . Contribute or > merely express liking to it. > > For

[tw5] Re: Filter comparison operators

2020-03-03 Thread Mat
Comparison operators is/has been discussed . Contribute or merely express liking to it. For now, this more cumbersome approach might work: <$set name=amount filter="[tag[mytag]get[modified]] 20180403221852352

[tw5] Re: Filter comparison operators

2020-03-03 Thread David Allen
I'm trying to store a list of tiddlers that has a "months" value. The only relation this number has to built-in tiddlywiki date/time handling is in deciding which tiddlers to include, and I already know how to get the current date. It is not related in any way to the creation/modification dat

[tw5] Re: Filter comparison operators

2020-03-03 Thread TonyM
David, There are always so many ways to ask the same question `[!prefix[2020]]` <$list filter="tag[blah]get[date-field]!prefix[2020]]"> When you say compare numbers is a string comparison enough? Recent improvements to tiddlywiki has introduced simple maths and additional string operators t