Is it possible to make sort by related object name ?

Author Message

Martynas Bilevičius

Friday 26 October 2007 1:35:02 am

Is it possible to make sort by related object name ?

Example:

1.Product class fields
1. Name
2. Product Maker (Object Relation)

2.Product Maker Class Names
1. Name
2. Product maker desctiption

I have two product makers name

1. First maker name is "Ardo"
2. Second product maker name is "Siemens"

And i have two products
First product name is ("Bath 1") related to Firs product maker ("Adro")
Second product name is ("Aprod 2") related to second product maker ("Siemens")

And i need sort product by their product maker name.

After sort i should get

1. Bath 1 (Because it's maker name is Ardo, first letter A)
2. Aprod 2 (Because it's maker name is Siemens, first letter S)

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