|
Paul Borgermans
|
Wednesday 15 September 2004 9:12:08 am
Comment16471
Hi Alessandro, something like:
attribute_filter, array(and,array(322,'=',0),array(331,'in','(1,2,3)')))),
So the 'in' behaves like a nested 'or' If you need text as possibilities, you will have to surround them with quotes and build your in variable outside the fetch in a {let} block. The array implode/concat operators are your friends there simplified example:
{let myselection="('all','all-but-one')"
... attribute_filter, array(and,array(322,'=',0),array(331,'in',$myselection)))),
{/let}
hth -paul
eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans
|