mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
residential address at user filter done
This commit is contained in:
parent
6010559936
commit
5b4b7473c5
@ -26,7 +26,7 @@ class ResidentialAddressAtUserFilter implements FilterInterface
|
|||||||
public function alterQuery(QueryBuilder $qb, $data)
|
public function alterQuery(QueryBuilder $qb, $data)
|
||||||
{
|
{
|
||||||
$qb->resetDQLPart('from');
|
$qb->resetDQLPart('from');
|
||||||
$qb->from('ChillPersonBundle:Person:ResidentialAddress', 'ra');
|
$qb->from('ChillPersonBundle:Person\ResidentialAddress', 'ra');
|
||||||
|
|
||||||
$qb->join('ra.person', 'person');
|
$qb->join('ra.person', 'person');
|
||||||
$qb->join('person.center', 'center');
|
$qb->join('person.center', 'center');
|
||||||
@ -42,7 +42,6 @@ class ResidentialAddressAtUserFilter implements FilterInterface
|
|||||||
|
|
||||||
$qb->add('where', $where);
|
$qb->add('where', $where);
|
||||||
|
|
||||||
dump($qb->getQuery());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function applyOn()
|
public function applyOn()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user