Skip to content

Commit

Permalink
Member list sorting was failing at recognizing sortable columns - tha…
Browse files Browse the repository at this point in the history
…nks Inter for reporting - fixes #2010

Signed-off-by: emanuele <emanuele45@gmail.com>
  • Loading branch information
emanuele45 committed Apr 1, 2015
1 parent 397ad61 commit 4cf66ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/controllers/Memberlist.controller.php
Expand Up @@ -238,7 +238,7 @@ public function action_mlall()
$context['num_members'] = ml_memberCount();

// Set defaults for sort (real_name) and start. (0)
if (!isset($_REQUEST['sort']) || !isset($context['columns'][$_REQUEST['sort']]))
if (!isset($_REQUEST['sort']) || !isset($context['columns'][$_REQUEST['sort']]['sort']))
$_REQUEST['sort'] = 'real_name';

if (!is_numeric($_REQUEST['start']))
Expand Down

0 comments on commit 4cf66ab

Please sign in to comment.