orderBy value in related table

2 posts by 2 authors in: Forums > CMS Builder
Last Post: November 14, 2011   (RSS)

Howdy,

Say I have table "products", and each record has a field "category", which is linked (num value) to table "categories".

In table 'categories', each category has a value "Featured" checkbox.

Is there an easy / built in way I can use this value in the related table to order the products table...

I could do it by running both tables into a new array and restoring, but wondered if there was a simply way I could do it in the products list viewer "orderBy" statement....

Cheers!