History 1Buff, I will just add to Erics note that when you cause the value of a field or macro etc.. to be available as the result of a filter each item, is considered a "title" even if their is not a tiddler with that title.
Eg; <$list filter="[range[1,10]]"> </$list> In side the list the currentTiddler title will be 1,2,3 - 10 Regards Tones On Monday, 30 November 2020 at 07:19:43 UTC+11 Eric Shulman wrote: > On Wednesday, September 30, 2020 at 1:34:39 PM UTC-7 [email protected] > wrote: > >> I'm looking for a way to get tiddlers based on comparing integer fields >> existing in them. This filter works: >> [myfieldOne[2]myfieldTwo[2]] >> I'd like something like: >> [myfieldOne[lteq[2]]myfieldTwo[lteq[2]]] >> I know there are compare operators ( >> https://tiddlywiki.com/#compare%20Operator), but I haven't figured out >> how to use it to filter the lists. >> > > To compare a single field value with an integer, returning the tiddler > title: > > [<currentTiddler>get[myfieldOne]compare:integer:lteq[2]then<currentTiddler>] > > To compare two different field values with integers, returning the tiddler > title: > > [<currentTiddler>get[myfieldOne]compare:integer:lteq[2]then<currentTiddler>get[myfieldTwo]compare:integer:lteq[2]then<currentTiddler>] > > Note that each field must exist AND have a value (i.e., not blank) > > 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/117564d5-1b0e-4028-a403-469decec6e9cn%40googlegroups.com.

