Skip to content

Commit

Permalink
MDL-47037 grader_gradereport: Enable sort in other language then English
Browse files Browse the repository at this point in the history
  • Loading branch information
Avi Levy authored and Jetha Chan committed Dec 10, 2014
1 parent dbe2143 commit db80069
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions grade/report/grader/index.php
Expand Up @@ -40,8 +40,8 @@
$toggle = optional_param('toggle', null, PARAM_INT);
$toggle_type = optional_param('toggle_type', 0, PARAM_ALPHANUM);

$graderreportsifirst = optional_param('sifirst', null, PARAM_ALPHA);
$graderreportsilast = optional_param('silast', null, PARAM_ALPHA);
$graderreportsifirst = optional_param('sifirst', null, PARAM_NOTAGS);
$graderreportsilast = optional_param('silast', null, PARAM_NOTAGS);

// The report object is recreated each time, save search information to SESSION object for future use.
if (isset($graderreportsifirst)) {
Expand Down
4 changes: 2 additions & 2 deletions report/completion/index.php
Expand Up @@ -62,8 +62,8 @@

// Paging
$start = optional_param('start', 0, PARAM_INT);
$sifirst = optional_param('sifirst', 'all', PARAM_ALPHA);
$silast = optional_param('silast', 'all', PARAM_ALPHA);
$sifirst = optional_param('sifirst', 'all', PARAM_NOTAGS);
$silast = optional_param('silast', 'all', PARAM_NOTAGS);

// Whether to show extra user identity information
$extrafields = get_extra_user_fields($context);
Expand Down
4 changes: 2 additions & 2 deletions report/progress/index.php
Expand Up @@ -47,8 +47,8 @@

// Paging
$start = optional_param('start', 0, PARAM_INT);
$sifirst = optional_param('sifirst', 'all', PARAM_ALPHA);
$silast = optional_param('silast', 'all', PARAM_ALPHA);
$sifirst = optional_param('sifirst', 'all', PARAM_NOTAGS);
$silast = optional_param('silast', 'all', PARAM_NOTAGS);
$start = optional_param('start', 0, PARAM_INT);

// Whether to show extra user identity information
Expand Down

0 comments on commit db80069

Please sign in to comment.