mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
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)
This commit is contained in:
parent
4c65dd7fb2
commit
097015895c
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@
|
||||||
|
|
||||||
//Now, select the course if needed
|
//Now, select the course if needed
|
||||||
if (($restore->restoreto == 0 or $restore->restoreto == 1) and ($restore->course_id == 0) and (isadmin())) {
|
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_heading(get_string("choosecourse"));
|
||||||
print_simple_box_start("CENTER");
|
print_simple_box_start("CENTER");
|
||||||
foreach ($courses as $course) {
|
foreach ($courses as $course) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue