Skip to content

Commit

Permalink
must specify ordering direction
Browse files Browse the repository at this point in the history
  • Loading branch information
nkissebe committed Feb 2, 2025
1 parent b1cd42a commit 86a8a1a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public function saveTask()
->where('type', '=', $db->quote('plugin'))
->where('state', '>=', 0)
->where('folder', '=', $db->quote('courses'))
->order('ordering');
->order('ordering', 'asc');

if ($plugins = $db->setQuery($query)->loadObjectList())
{
Expand Down

0 comments on commit 86a8a1a

Please sign in to comment.