Forums / Setup & design / attribute filter and related objects

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

attribute filter and related objects

Author Message

Marc Gibert Ginestà

Wednesday 10 December 2003 3:23:06 am

Hi!

I'd like to filter a fetch based on a related object. So, I have attribute number 199 which stores the related object, but don't know what to put on the query part to match the value it has:

'attribute_filter',array('or',array(199,'=',$related.node_id),array(199,'=',$related.node_id)

I've tried with both $related.node_id, $related , $related.object and some other combinations but don't know what to match exactly.

Could someone help me?

Thanks in advance.