× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

Front end Ordering

pred 5 rokmi 11 mesiacmi #1918 od mrlee
Front end Ordering bolo vytvorené 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.. .

Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.

pred 5 rokmi 11 mesiacmi #1920 od Ralf Meyer
Odpoveď od Ralf Meyer na tému Front end Ordering
e.g. ../models/yourmodels.php


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

Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.

Čas vytvorenia stránky: 0.052 sekúnd
Funguje na Kunena fórum

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.