Front end Ordering

Front end Ordering

1 year 11 months ago #1918 by mrlee

Hi I would like to display the list elements by the backend ordering, by default it's sort by Item ID.

I hope you can help me

Thanks.. .

Please Log in or Create an account to join the conversation.

1 year 11 months ago #1920 by Ralf Meyer

e.g. ../models/yourmodels.php


if ($orderCol && $orderDirn)
{
//$query->order($db->escape($orderCol . ' ' . $orderDirn));
}
$query->order($db->escape('a.id' . ' ' . 'DESC'));

Please Log in or Create an account to join the conversation.

Time to create page: 0.138 seconds
Powered by Kunena Forum

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.