Make paging work correctly in the user-directory

even with the default filter set (i.e.: `all' = `no filter', so intrepret `filter=all' as `no filter').
This commit is contained in:
Joshua Judson Rosen 2012-06-18 23:21:57 -04:00 committed by Mikael Nordfeldth
parent 562d5bc5fb
commit 8e5d58fe2a
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ class UserdirectoryAction extends Action
$args = array();
if (isset($this->q)) {
$args['q'] = $this->q;
} else {
} elseif (isset($this->filter) && $this->filter != 'all') {
$args['filter'] = $this->filter;
}