Hi Tony
Thanks a lot for your answer
I'm not sure I follow you ... sorry
This is incorrect because the result comes from either the filter OR the value....
In my code I want to set myFilter to a given filter depending on the radio selection
That why I try to filter this way
filter="[searchType[Categ]]"
hopping that depending on the local field SearchType which should be = to Categ or FreeT depending on the radio choice I will have
myFilter = "[search:tags{!!sortfield}sort[tags]]" OR
="[search:title{!!searchval}reverse[]]">
Then I apply the subfilter in the $list ..
Please explain me again what is wrong in this filter. I've tried also filter="[{{!!searchType}}[Categ]]" but same result ..
Thanks again for your help
Vpl