Thanks for that Eric. 
For some reason it didn't work for me...

This simple case works, for showing all tiddlers with importance set as 5:
[importance[5]]

I tried this, for showing all tiddlers with importance 5 or higher: 
(note I changed the field name from *priority* to *importance*)
[importance[{!!importance}compare:number:gteq[5]]]

I also tried just this:
[{!!importance}compare:number:gteq[5]]


On Tuesday, June 16, 2020 at 11:33:20 AM UTC+1, Eric Shulman wrote:
>
> 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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/35c60b8a-7ec0-45c6-8262-54cc15ec2522o%40googlegroups.com.

Reply via email to