The problem is, I need to get a list of all ezcontentobejcts_attributes with a certain contentclass_attributeid, in this case, all ezobjectrelation attributes. That is why I am using
eZContentObjectAttribute::fetchListByClassID()
I only need attributes by ClassID.
Now, all objectattributes also have their own version number, but that doesnt help me in this case..or does it?
If I fetch it on a object level, I can understand how I can use (current_version), but when I fetch it on a attribute level, how can I then easily get the current version of the parent object the attribute is under?
If you cant patch the kernel then you may need to iterate on the results and make sure you only keep the latest versions which are published. Not ideal but it would work.
Paul
You must be logged in to post messages in this topic!