eZ Community » Forums » Suggestions » logical operators and attribute...

logical operators and attribute filter array

logical operators and attribute filter array

Monday 31 October 2005 12:00:19 pm - 3 replies

Would it possible to have more than one logical operator in the attribute filter array? For example:

attribute_filter,array('and', array('or',
                 array(197, '<' , currentdate()),
                 array(197, '=' , 0)),
                 array(198, '>' , currentdate()),
                 array(198, '=' , 0)))

Tuesday 15 November 2005 11:25:15 am


I haven't tested this

but this possible.

Wednesday 16 November 2005 9:31:57 am

After a quick look at the code in <i>eZContentObjectTreeNode::createAttributeFilterSQLStrings</i>, I don't think this is possible at the moment.

Wednesday 08 February 2006 12:27:40 pm


Has anybody any fixes to this??

Currently i have to filter 4 attributes... seems to only be able to filter two attributes if i add more fetch brings NOTHING back.. sad.gif Emoticon..

any ideas how to filter more that 2?



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

36 542 Users on board!

Forums menu

Proudly Developed with from