Forums / Developer / attribute_filter breaking fetch. / Comment48442
Bruce Morrison
Wednesday 08 August 2007 4:48:32 pm
Hi Emil
When you add the attribute_filter line try removing the class_filter_type & class_filter_array lines so you end up with someting like
children_tag=fetch( 'content', 'list', hash( 'parent_node_id', 12, depth,4, attribute_filter, array(array( 'image/tags' , 'like', '*string*')), limit, $page_limit, offset, $view_parameters.offset ) )
I seem to recall that this has worked for me in the past.
Also turn on debugging so you can see the SQL output. This allows you to check the generated SQL and you can tweak the fetch to get the desired result.
CheersBruce
My Blog: http://www.stuffandcontent.com/ Follow me on twitter: http://twitter.com/brucemorrison Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish