diff --git a/src/Bundle/ChillPersonBundle/Controller/SocialIssueApiController.php b/src/Bundle/ChillPersonBundle/Controller/SocialIssueApiController.php index b3c5998fd..fc11f7f52 100644 --- a/src/Bundle/ChillPersonBundle/Controller/SocialIssueApiController.php +++ b/src/Bundle/ChillPersonBundle/Controller/SocialIssueApiController.php @@ -18,7 +18,6 @@ use Symfony\Component\HttpFoundation\Request; class SocialIssueApiController extends ApiController { - protected function customizeQuery(string $action, Request $request, $query): void { $query->where( @@ -33,8 +32,7 @@ class SocialIssueApiController extends ApiController protected function orderQuery(string $action, $query, Request $request, PaginatorInterface $paginator, $_format) { $query->addOrderBy('e.ordering', 'ASC'); + return $query; - } - }