Hi. I'm having trouble with one of my macros, and I'm not sure why.
Here is the code:
\define empire_species(faction)
!!Species
<$list filter="[tag[empire_event]faction[$faction$]sort[year]]">
<$set name=theyear value={{!!year}}>
<$list filter="[tag[species]planet{!!planet}]" >
*<$link to=<<currentTiddler>> >
<<currentTiddler>>
</$link>(<<theyear>>)
</$list>
</$set>
</$list>
\end
This is supposed to get a list of tiddlers tagged empire_event whose
faction field matches the input, then get a list of species whose planet
field matches the planet field of the empire event. What it's actually
doing is grabbing a list of species that don't have a planet field defined
yet and appending the desired result of this macro to that list.
Does anyone know what I need to change to keep this from grabbing species
that don't have the planet field?
--
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/f026c677-4834-493a-a3a0-a9ed390816f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.