Fixed tag autocompletion

This commit is contained in:
Marcin Kurczewski 2014-05-16 20:57:16 +02:00
parent 5f246d7a51
commit 0aa75704a2

View file

@ -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,