But if i would do it like your way: $this-Post-Tag-Category-
find...,
i have to change my view.
Because
['Post']['Tag']['Category']
is now
['Category']['Tag']['Post']
And what, if i would like to orderBy Tag.name?
Than i have do set up three different view-loops to print out the
result array!
I would like to have a sorted-array (order by) to print out in my Post-
View.
The Problem is, that the order-by-attribute (Category.name) lies
deeper
than attributes (Post.id, Tag.id, ...), which have to be ordered.
Here is my example:
Relations:
Post -- hasMany -- Tag -- belongsTo -- Category
On Tue, Oct 5, 2010 at 6:03 PM, Paul Bricks
eric.liechtenst...@googlemail.com wrote:
I would like to have a sorted-array (order by) to print out in my Post-
View.
The Problem is, that the order-by-attribute (Category.name) lies
deeper
than attributes (Post.id, Tag.id, ...), which have to be