| Tuesday 25 August 2009 7:31:53 am 
                                                                
                                                                 Hi there, I'm trying to do an attribute_filter on a 'selection' attribute type when fetching with 'content' 'search'. But the system is always returning all items, without filtering their values. 
I saw in the doc that it's doable, and also there :http://ez.no/developer/forum/general/attribute_filter_on_fetch_content_list
 But I can't make it work :( I tried : 
'attribute_filter', 	array(array('myclass/selection_attribute', '=', array(1)))
'attribute_filter', 	array(array('myclass/selection_attribute', 'in', array(1)))
'attribute_filter', 	array(array('myclass/selection_attribute', '=', 1))
'attribute_filter', 	array(array('attributeId', 'in', 1))
'attribute_filter', 	array(array('attributeId', '=', array(1)))
[...]
where '1' is the option index selected in the object of type "myclass" 
The selection method is "unique".Please note that I'm able to do an attribute_filtering with a content list fetch.
 Any idea please ? Thanks in advance :) |