Changed main views in JCB to sort id descending.
This commit is contained in:
@ -371,7 +371,7 @@ class ComponentbuilderModelJoomla_plugins extends JModelList
|
||||
|
||||
// Add the list ordering clause.
|
||||
$orderCol = $this->state->get('list.ordering', 'a.id');
|
||||
$orderDirn = $this->state->get('list.direction', 'DESC');
|
||||
$orderDirn = $this->state->get('list.direction', 'desc');
|
||||
if ($orderCol != '')
|
||||
{
|
||||
$query->order($db->escape($orderCol . ' ' . $orderDirn));
|
||||
|
Reference in New Issue
Block a user