Forums / Developer / Ordering by Different Attributes

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

Ordering by Different Attributes

Author Message

Oliver Frommel

Tuesday 04 December 2007 7:34:22 am

Hello,

what is the best way to implement ordering of content objects by different attributes. Let's say we have ClassA with date1 and ClassB with date1, then date1 and date1 are essentially different attributes (as seen in their numeric ID), right?

Now when I do a 'fetch' in a template how can I order by those attributes that have to be of the same type of course?

Thanks
Oliver