Added the category code to the new filters area. gh-378 Update the direction default the descending.
This commit is contained in:
@ -167,7 +167,7 @@ class ComponentbuilderModelAdmins_custom_tabs extends JModelList
|
||||
|
||||
// Add the list ordering clause.
|
||||
$orderCol = $this->state->get('list.ordering', 'a.id');
|
||||
$orderDirn = $this->state->get('list.direction', 'asc');
|
||||
$orderDirn = $this->state->get('list.direction', 'desc');
|
||||
if ($orderCol != '')
|
||||
{
|
||||
$query->order($db->escape($orderCol . ' ' . $orderDirn));
|
||||
|
Reference in New Issue
Block a user