diff --git a/app/index/controller/Index.php b/app/index/controller/Index.php index 82cb526..6d63b1d 100644 --- a/app/index/controller/Index.php +++ b/app/index/controller/Index.php @@ -64,7 +64,11 @@ class Index extends Common $list_post = $model_post->paginate([ 'url' => 'Index/index', - 'query' => $this->request->get(), + 'query' => [ + 'category_id' => $this->request->param('category_id'), + 'sub_category_id' => $this->request->param('sub_category_id'), + 'page' => $this->request->param('page'), + ], 'list_rows' => 10 ]);