The "compare" operator can let you make numeric comparisons:

https://tiddlywiki.com/#compare%20Operator


On Monday, June 15, 2020 at 3:29:01 PM UTC-7, OGNSYA wrote:
>
> Perfect! Thank you.
>
> I did have the tiddler name as [[My Status]] in the custom field.
> I was assuming that the tag field of a tiddler was simply a list of titles.
> Since my custom field was also a list of titles, I assumed I could access 
> it the same way.
> I suppose it's not...
>
> Now I'm stuck trying to filter based on a number in a custom field called 
> "priority".
> I'd like to only show tiddlers with priority equal or greater than "5"
> Can I do that in a filter?
>
> On Monday, June 15, 2020 at 11:09:01 PM UTC+1, Mark S. wrote:
>>
>> If "status" is a list of tiddler names, then any of the names in the list 
>> that have spaces need to be like [[My Status]]. This is called a title 
>> list. And you can't search directly with status[....], because that method 
>> only matches fields with a single value. Instead use the "contains" 
>> operator, with the field status as a suffix. Like:
>>
>> [!is[system]tag[My Tag]contains:status[My Status]]
>>
>> HTH
>>
>> On Monday, June 15, 2020 at 2:39:33 PM UTC-7, OGNSYA wrote:
>>>
>>> I'm trying to filter a list by my own custom field "Status", which is a 
>>> list of tiddler names, but it only works if the value has no space in it.
>>>
>>> Here's my code (the tag part works fine):
>>>
>>> [!is[system]tag[My Tag]status[My Status]]
>>>
>>> If I remove the space from the "My Status" tiddler, and change the above 
>>> to "MyStatus", it works.
>>>
>>> What am I doing wrong? 
>>> Shouldn't this work the same as with tags?
>>>
>>> Thanks!
>>>
>>

-- 
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/2a1e25ee-5388-4b79-9a45-1142631a0e37o%40googlegroups.com.

Reply via email to