MDL-47037 grader_gradereport: Enable sort in other language then English

This commit is contained in:
Avi Levy
2014-12-11 07:39:42 +08:00
committed by Jetha Chan
parent ae2a9c0e66
commit 23f751ee38
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -40,8 +40,8 @@ $target = optional_param('target', 0, PARAM_ALPHANUM);
$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)) {
+2 -2
View File
@@ -62,8 +62,8 @@ if ($csv) {
// 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);
+2 -2
View File
@@ -47,8 +47,8 @@ $csv = $format == 'csv' || $excel;
// 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