mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 10:33:49 +00:00
allow to load person interactively
- return results as json in PersonSearch - update PickPersonType to load peoples with ChoiceLoader
This commit is contained in:
@@ -32,6 +32,7 @@ use Symfony\Component\Security\Core\Role\Role;
|
||||
use Chill\PersonBundle\Security\Authorization\PersonVoter;
|
||||
use Chill\PersonBundle\Search\SimilarPersonMatcher;
|
||||
use Symfony\Component\Translation\TranslatorInterface;
|
||||
use Chill\MainBundle\Search\SearchProvider;
|
||||
|
||||
class PersonController extends Controller
|
||||
{
|
||||
@@ -46,7 +47,7 @@ class PersonController extends Controller
|
||||
* @var TranslatorInterface
|
||||
*/
|
||||
protected $translator;
|
||||
|
||||
|
||||
public function __construct(
|
||||
SimilarPersonMatcher $similarPersonMatcher,
|
||||
TranslatorInterface $translator
|
||||
|
Reference in New Issue
Block a user