Skip to content

Commit

Permalink
MDL-39992 assign: Sort grading actions in alphabetical order
Browse files Browse the repository at this point in the history
  • Loading branch information
Damyon Wiese committed Sep 2, 2013
1 parent ee78814 commit 0d416e9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mod/assign/locallib.php
Expand Up @@ -2925,6 +2925,9 @@ protected function view_grading_table() {
}
}

// Sort links alphabetically based on the link description.
core_collator::asort($links);

$gradingactions = new url_select($links);
$gradingactions->set_label(get_string('choosegradingaction', 'assign'));

Expand Down

0 comments on commit 0d416e9

Please sign in to comment.