Skip to content

Commit 543c26f

Browse files
author
Laur0r
authored
order category_select in admin setting
1 parent 7c34954 commit 543c26f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

classes/admin_form.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,8 @@ private function getunassignedcats() {
231231
FROM {course_categories}
232232
LEFT JOIN {block_evasys_sync_categories}
233233
ON {block_evasys_sync_categories}.course_category = {course_categories}.id
234-
WHERE {block_evasys_sync_categories}.course_category IS NULL');
234+
WHERE {block_evasys_sync_categories}.course_category IS NULL
235+
ORDER BY name ASC');
235236

236237
$cat = array();
237238
foreach ($categories as $category) {
@@ -291,4 +292,4 @@ public function validation($data, $files) {
291292

292293
return $errors;
293294
}
294-
}
295+
}

0 commit comments

Comments
 (0)