Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-36169 fix enrolled users sorting by alphanumerical column

Credit goes to Nicholas Koeppen, thanks!
  • Loading branch information...
commit 3952908d5ca3f545334534e0f64e72ad6c1b71e8 1 parent ce44bf4
@skodak skodak authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  enrol/renderer.php
View
2  enrol/renderer.php
@@ -431,7 +431,7 @@ public function __construct(course_enrolment_manager $manager) {
$this->page = optional_param(self::PAGEVAR, 0, PARAM_INT);
$this->perpage = optional_param(self::PERPAGEVAR, self::DEFAULTPERPAGE, PARAM_INT);
- $this->sort = optional_param(self::SORTVAR, self::DEFAULTSORT, PARAM_ALPHA);
+ $this->sort = optional_param(self::SORTVAR, self::DEFAULTSORT, PARAM_ALPHANUM);
$this->sortdirection = optional_param(self::SORTDIRECTIONVAR, self::DEFAULTSORTDIRECTION, PARAM_ALPHA);
$this->attributes = array('class'=>'userenrolment');
Please sign in to comment.
Something went wrong with that request. Please try again.