MDL-68904 core_h5p: order libraries by title
authorSara Arjona <sara@moodle.com>
Wed, 3 Jun 2020 10:01:59 +0000 (12:01 +0200)
committerSara Arjona <sara@moodle.com>
Wed, 3 Jun 2020 10:01:59 +0000 (12:01 +0200)
h5p/classes/editor_ajax.php

index e1090eb..6f293d0 100644 (file)
@@ -61,7 +61,7 @@ class editor_ajax implements H5PEditorAjaxInterface {
                             )
                  WHERE hl2.runnable = 1
                        AND hl1.majorversion is null
-              ORDER BY hl2.machinename";
+              ORDER BY hl2.title";
 
         return $DB->get_records_sql($sql);
     }