On Tuesday, June 16, 2020 at 3:04:46 AM UTC-7, OGNSYA wrote:
>
> Thanks! I did see that, but couldn't figure out how to actually use it.
> Let's say I want to filter only tiddlers where the custom field *priority* 
> is 5 or greater.
>

Give this a try: 
[{!!priority}compare:number:gteq[5]]

Note that, in filter syntax, you use *single* brackets around references,
and except for the outermost square brackets around the whole filter run,
the brackets are part of the reference itself, where
*[...] is for literal values, {...} is for field values, and <...> is for 
variables*

So, for example, in addition to the above syntax for comparing with a 
literal value of "5",
you could compare with a value stored in another field:
[{!!priority}compare:number:gteq{!!minimum}]
or with a value from a variable:
<$vars minimum="5">
[{!!priority}compare:number:gteq<minimum>]
</$vars>

hope this helps,

enjoy,
-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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1ccf5d04-f167-43b0-832c-d0d9f19569d8o%40googlegroups.com.

Reply via email to