Adding to sort order

3 posts by 2 authors in: Forums > CMS Builder
Last Post: June 8, 2016   (RSS)

By Damon - June 8, 2016

Try this:

list($listingRecords, $listingDetails) = getRecords(array(
'tableName' => 'listings',
'perPage' => '10',
'orderBy' => 'createdDate DESC, stock_number DESC'

Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

By tCote - June 8, 2016

Thank you.