Author Topic

Paul Borgermans

Thursday 16 September 2004 1:28:22 am

Comment16473

Hi Alessandro,

Unfortunately you need to contruct the string for the 'in' filter outside the fetch to avoid the escapes on the quote characters.

{let myinstring=concat("('",'call',"','",'tutti',"')")
     memo=fetch( content, tree, hash( parent_node_id, 250,
		class_filter_type, "include",
		class_filter_array, array(42),
		depth, 10,
		attribute_filter, array(and,array(322,'=',0),array(331,'in',$myinstring)),
		limit, 5,
		sort_by, array( published, false() )
		))}
My inistring: {$myinstring}
{/let}

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans