Forums / Setup & design / 'advanced' fetch function problem / Comment15396
Paul Forsyth
Thursday 22 April 2004 3:06:48 am
I think you need a conditional operator as part of your attribute_filter.
Eg
attribute_filter, array(array( 'or', 'article/primo_piano', '=', true(), 'article2/primo_piano', '=', true() ) )
See the doco for this:
http://ez.no/ez_publish/documentation/development/libraries/ez_template/operators/data_fetch
Without this i think the filter just matches on the first condition, though i could be wrong. I haven't used it yet.
paul
--http://www.visionwt.com