diff --git a/src/Controllers/TagController.php b/src/Controllers/TagController.php index 63cf4882..531f3acf 100644 --- a/src/Controllers/TagController.php +++ b/src/Controllers/TagController.php @@ -23,8 +23,10 @@ class TagController $filter = InputHelper::get('search'); $filter .= ' order:popularity,desc'; + $job = new ListTagsJob(); + $job->getPager()->setPageSize(15); $ret = Api::run( - (new ListTagsJob)->setPageSize(15), + $job, [ JobArgs::ARG_QUERY => $filter, JobArgs::ARG_PAGE_NUMBER => 1,