Fixed little glitch in the listing of the users.
This commit is contained in:
parent
76cf64369d
commit
dd6b6c9ce6
@ -156,7 +156,7 @@ class IDF_Views_Admin
|
|||||||
$pag->forced_where = new Pluf_SQL('first_name = \'---\' AND active!='.$true);
|
$pag->forced_where = new Pluf_SQL('first_name = \'---\' AND active!='.$true);
|
||||||
$title = __('Not Validated User List');
|
$title = __('Not Validated User List');
|
||||||
} else {
|
} else {
|
||||||
$pag->forced_where = new Pluf_SQL('first_name != \'---\' AND active='.$true);
|
$pag->forced_where = new Pluf_SQL('first_name != \'---\'');
|
||||||
$title = __('User List');
|
$title = __('User List');
|
||||||
}
|
}
|
||||||
$pag->class = 'recent-issues';
|
$pag->class = 'recent-issues';
|
||||||
@ -173,7 +173,7 @@ class IDF_Views_Admin
|
|||||||
array('last_login', 'Pluf_Paginator_DateYMDHM', __('Last Login')),
|
array('last_login', 'Pluf_Paginator_DateYMDHM', __('Last Login')),
|
||||||
);
|
);
|
||||||
$pag->extra_classes = array('', '', 'a-c', 'a-c', 'a-c', 'a-c');
|
$pag->extra_classes = array('', '', 'a-c', 'a-c', 'a-c', 'a-c');
|
||||||
$pag->configure($list_display, array(), array('login'));
|
$pag->configure($list_display, array(), array('login', 'last_login'));
|
||||||
$pag->items_per_page = 50;
|
$pag->items_per_page = 50;
|
||||||
$pag->no_results_text = __('No users were found.');
|
$pag->no_results_text = __('No users were found.');
|
||||||
$pag->setFromRequest($request);
|
$pag->setFromRequest($request);
|
||||||
|
Loading…
Reference in New Issue
Block a user