From 8e5d58fe2a2afb23942bca8134c743189ab11575 Mon Sep 17 00:00:00 2001 From: Joshua Judson Rosen Date: Mon, 18 Jun 2012 23:21:57 -0400 Subject: [PATCH] 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'). --- plugins/Directory/actions/userdirectory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Directory/actions/userdirectory.php b/plugins/Directory/actions/userdirectory.php index 749442caf5..2a4bc7c76b 100644 --- a/plugins/Directory/actions/userdirectory.php +++ b/plugins/Directory/actions/userdirectory.php @@ -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; }