forked from GNUsocial/gnu-social
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:
parent
562d5bc5fb
commit
8e5d58fe2a
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user