Forums / Setup & design / attribute_filter with strings / Comment17076
Silke Fox
Tuesday 07 December 2004 2:48:35 am
attribute_filter expects an array of arrays as parameter.
Snippet from this documentation:http://ez.no/ez_publish/documentation/development/libraries/ez_template/operators/data_fetch
fetch( 'content', 'list', hash( parent_node_id, $node.node_id, attribute_filter, array( array( 'article/title', '=', 'abc' ) ) ) )
This is because you can specify more than one filter option, like for example
... attribute_filter, array( array( 'article/id', '>', 100 ), array( 'article/id', '<', 200 ) ) ...