Greetings to the TW Community
I would like to make a filter which use a content of a field (subcat) in the filter, but I can’t seem to find the correct syntax.
First unsuccessful attempt:
<$list filter="[!is[system]sort[caption]] +[contains:subcat[{{!!subcat}}]]">
I tested to declare a variable but nothing works:
<$set name=myvar a value={{!!subcat}}>
<$list filter="[!is[system]sort[caption]] +[contains:subcat$[$myvar$]]">
or
<$list filter="[!is[system]sort[caption]] +[contains:subcat[{{myvar}}]]">
or
<$list filter="[!is[system]sort[caption]] +[contains:subcat[<<myvar>>]]">
Can you help me find what’s wrong?
Have a good day!