On Monday, November 27, 2017 at 6:00:06 AM UTC-8, Gabriel Perlmutter wrote:
>
> So this give me no result:
> <$list 
> filter="[lessthan:birth[{{!!year}}]greaterthan:death[{{!!year}}]tag[People]]">
> But this gives me the expected results:
> <$list filter="[lessthan:birth[1950]greaterthan:death[1950]tag[People]]">
>

You have too many brackets. Think of the brackets as part of the operand 
itself rather than a "container" for the operand.  The type of bracket 
indicates the type of operand being used:
   use [...] for literal values, e.g., [texthere] 
   use {...} for field references, e.g., {!!fieldname}
   use <...> for variables e.g. <currentTiddler>

Also note that, unlike references used as arguments to macros, which use 
doubled brackets (i.e., [[...]], {{...}} and <<...>>, filter operands only 
use SINGLE brackets.  Thus, for your use-case (a field reference operand), 
omit the square brackets entirely, and only use ONE set of curly braces, 
like this:

<$list 
filter="[lessthan:birth{!!year}greaterthan:death{!!year}tag[People]]">

Let me know how it goes.

enjoy,
-e
Eric Shulman
TiddlyTools.com: "Small Tools for Big Ideas!" (tm)
InsideTiddlyWiki: The Missing Manuals

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1beec027-3f41-4bbd-9e60-6fcdff1a6ab0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to