Solène Guillot
|
Wednesday 29 September 2010 5:26:52 am
Hello, I would like to do an attribute filter with AND and OR imbricated. It doesn't work. I have eZ 4.0.0. My code :
'attribute_filter', array( 'or',
array( 'event/from_time', 'between', array( $beginmonth, $endmonth )),
array( 'event/to_time', 'between', array( $beginmonth, $endmonth ) ),
array('and',
array( 'event/from_time', '<=', $beginmonth ),
array( 'event/to_time', '>=', $endmonth )
)
) Is it possible ??? Thanks
|