diff --git a/src/Forum/Content/Index.php b/src/Forum/Content/Index.php index a290bcecf..ca4fe0e65 100644 --- a/src/Forum/Content/Index.php +++ b/src/Forum/Content/Index.php @@ -68,12 +68,13 @@ class Index $sort = Arr::pull($queryParams, 'sort'); $q = Arr::pull($queryParams, 'q'); $page = max(1, intval(Arr::pull($queryParams, 'page'))); + $filters = Arr::pull($queryParams, 'filter', []); $sortMap = $this->getSortMap(); $params = [ 'sort' => $sort && isset($sortMap[$sort]) ? $sortMap[$sort] : '', - 'filter' => [], + 'filter' => $filters, 'page' => ['offset' => ($page - 1) * 20, 'limit' => 20] ];