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?

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