From 097015895cf3356bd36561f9272f2e0f7516eb89 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Tue, 9 Mar 2004 11:35:14 +0000 Subject: [PATCH] When restoring to existing course, the list of available courses was previously ordered by sortorder. Now it's ordered by fullname. See bug 1108. (http://moodle.org/bugs/bug.php?op=show&bugid=1108) --- backup/restore_check.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup/restore_check.html b/backup/restore_check.html index 48c9c5c605..3606e59a93 100644 --- a/backup/restore_check.html +++ b/backup/restore_check.html @@ -148,7 +148,7 @@ //Now, select the course if needed if (($restore->restoreto == 0 or $restore->restoreto == 1) and ($restore->course_id == 0) and (isadmin())) { - if ($courses = get_courses()) { + if ($courses = get_courses("all","c.fullname")) { print_heading(get_string("choosecourse")); print_simple_box_start("CENTER"); foreach ($courses as $course) { -- 2.39.5