Forums / General / Object Relations / Comment32123

Author Topic

Kirill Subbotin

Tuesday 30 August 2005 3:05:20 am

Comment32123

2 Roberto:

If you want all relations to be displayed in admin interface and returned by 'related_contentobject_array' now you can do a simple hack:

In /kernel/classes/ezcontentobject.php find the function 'relatedContentObjectArray' for related or 'reverseRelatedObjectList' for reverse-related objects and just remove the line "contentclassattribute_id=$attributeID" from SQL query.