Attribute filter in fetch

Attribute filter in fetch

Thursday 11 March 2004 9:20:16 pm - 1 reply

Author Message

Iain MacLean

Friday 12 March 2004 12:46:57 am

Hi Sathish

Try adding the 'or' operator to the attribute filter like this:

attribute_filter, array('or', array(339, '=', '1'))

I've just used something like this to filter a fetch result on a checkbox (actually, two checkboxes) in a class and it seems to be working properly.

Cheers

Iain

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.