mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
17 lines
435 B
PHP
17 lines
435 B
PHP
<?php
|
|
|
|
namespace Chill\MainBundle\Controller;
|
|
|
|
use Chill\MainBundle\CRUD\Controller\ApiController;
|
|
use Chill\MainBundle\Pagination\PaginatorInterface;
|
|
use Symfony\Component\HttpFoundation\Request;
|
|
|
|
class CivilityApiController extends ApiController
|
|
{
|
|
protected function orderQuery(string $action, $query, Request $request, PaginatorInterface $paginator, $_format)
|
|
{
|
|
return $query->addOrderBy('e.order', 'ASC');
|
|
}
|
|
|
|
}
|