Jon
1
Hi,
If I have a field named ‘key’ which contains one or all of ‘A’, ‘B’, ‘C’
How do I select tiddlers which have both ‘A’ & ‘C’ in the field?
(The purpose is to select for key words in the text so I don’t want to overpopulate the wiki with tags)
So far I’ve got
<$list filter=[key[A]]>
</$list>
or
<<list-links [search:key[A]]>>
I’ve had a look round but can’t find how to do it for multiple terms.
Regards
Jon
I’d probably go with…
[[has[key]search:key[A]search:key[C]]
Jon
3
Thanks, but I’ve tried:
<$list filter= [[has[key]search:key[A]search:key[C]]>>
</$list>
and
<<list-links [[has[key]search:key[A]search:key[C]]>>
and neither gives an output.
Jon
5
Ah, this seems to do it
<<list-links "[search:key[A]search:key[C]]">>
Jon
6
sorry, didn’t see your post before mine - I’ll try that thanks.
This is not valid filter syntax, but has an opening bracket [ too many at the beginning. Therefore, @Jon’s initial tries were unsuccessful.
Have a nice day
Yaisog
Jon
8
That works now - thanks both.