Added the category code to the new filters area. gh-378 Update the direction default the descending.

This commit is contained in:
Llewellyn committed 2020-11-30 17:31:11 +02:00
1 parent f20039b390
commit 3324576c95
32 files changed
+57 -33

No files matched your search

+1 -1
View File
@@ -167,7 +167,7 @@ class ComponentbuilderModelComponents_plugins 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));