Author Topic

Paul Borgermans

Monday 30 August 2004 9:59:43 am

Comment41348

Steve,

I think you stumbled upon a bug,

try this workaround

{let carat_in='('|concat($carat,')')
exactresults=fetch(content,tree,hash(parent_node_id, 59, 
attribute_filter,  
array(and,array('stone_product/carat','in',$carat_in), 
array('stone_product/clarity','in','(7)'))))
 }

I use a similar construct on an array of checkbox form elements and have to assemble the string for 'in' filtering outside the fetch, so i did not notice this bug/feature yet.

hth

-paul

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