Hi all,
How to look for the elements that are present in two or more diferent list
fields? My use case is the following:
I'm struggling to find a way to list the teaching resources available for a
given course and a given level. For instance, my student Sara is learning
french at level A2:
title: Sara
tags: student
course: french
level: A2
And resources' tiddlers are like that:
title: SomeTitle
tags: resource
courses: french spanish italian
levels: A1 A2
title: AnotherTitle
tags: resource
courses: french english
levels: B1
Now I want the list of the teaching resources for her, but the following
and similar filters doesn't work:
<$list filter="[[french]listed[courses]] +[[A2]listed[levels]]"/>
I know I can do that (it actually works):
\define myMacro() <$list filter=
"[tag[resource]field:courses/$(course)$/field:level/$(level)$/]" />
<$set name="course" value={{!!course}}>
<$set name="level" value={{!!level}}>
<<myMacro>>
</$set>
</$set>
But It is just a workaround for a more general problem: how to use better
the lists fields?
Best regards,
Alberto
--
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.