mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
person: social issue api controller: add onPostIndexBuildQuery
This commit is contained in:
parent
eb32b13bcc
commit
2c94811c8f
@ -97,6 +97,9 @@ class SocialIssueApiController extends AbstractController
|
|||||||
->setHint(Query::HINT_INCLUDE_META_COLUMNS, true)
|
->setHint(Query::HINT_INCLUDE_META_COLUMNS, true)
|
||||||
->getResult(FlatHierarchyEntityHydrator::LIST);
|
->getResult(FlatHierarchyEntityHydrator::LIST);
|
||||||
|
|
||||||
|
$qb->addOrderBy('GET_JSON_FIELD_BY_KEY(si.title, :locale)', 'ASC')
|
||||||
|
->setParameter(':locale', $request->getLocale());
|
||||||
|
|
||||||
$socialIssues = $qb->getQuery()->getResult();
|
$socialIssues = $qb->getQuery()->getResult();
|
||||||
|
|
||||||
return new JsonResponse(
|
return new JsonResponse(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user