"You forgot "[is[current]..." at the start. Without that, it will find
everything tagged with Subjective"
- isn't that what I want? I thought filters were like a pipe, so this
<$list filter="[tag[Subjective]regexp:dates[2020-05-01]]" variable=null>
would mean that you list all tiddlers with the tag "Subjective", and from
that list you filter out everything *but* those with a dates field that
contains "2020-05-01"
So leaving that aside, if i have this corrected viewtemplate:
<$set name="mytoday" value={{my-now}}>
<$list filter="[all[current]tag[Subjective]regexp:dates[2020-05-01]]"
variable=null>
<<mytoday>>
</$list></$set>
which puts today's date at the bottom of only tiddlers with the tag
"Subjective" and the dates field containing "2020-05-01"
So far so good.
but when I replace 2020-05-01 with <<mytoday>>, like this
<$set name="mytoday" value={{my-now}}> <$list
filter="[all[current]tag[Subjective]regexp:dates[<<mytoday>>]]"
variable=null>
<<mytoday>> </$list></$set>
or this
<$set name="mytoday" value={{my-now}}> <$list
filter="[all[current]tag[Subjective]regexp:dates<<mytoday>>]"
variable=null>
<<mytoday>> </$list></$set>
I get nothing... I also tried replacing the word "set" with the word
"wikify" and that didn't work either.
Any further suggestions? Maybe I need to put this in a macro and use
macrocall (that seems to be the answer to so many of these situations) -
I'll try that and post back if it works
--
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/a5f98b71-4bfa-44eb-a8b6-1cd9a1f4b806%40googlegroups.com.