Forums / General / fetching children, attribute_filter and translations

"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".

fetching children, attribute_filter and translations

Author Message

Marc Gibert Ginestà

Tuesday 30 December 2003 9:56:53 am

Hi!

I've seen that when using attribute_filter to fetch child nodes, they are not filtered based on the current translation I'm using.

For example, if I have 2 childs of the current node, each with 3 translations, when I fetch the childs and use attribute_filter to filter them, each child that matches the filter is returned as many times as translations.

I've seen from the query on the DB that when matching attributes on the ezcontentobject_attribute table, the language_code field is not used, so each child is returned as many times as translations.

Is there any way to fix this?