mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 05:44:24 +00:00
fix pattern show on search
This commit is contained in:
parent
fd158a15bc
commit
0d1ca31fc9
@ -76,7 +76,8 @@ class PersonSearch extends AbstractSearch
|
|||||||
return $this->container->get('templating')->render('ChillPersonBundle:Person:list.html.twig',
|
return $this->container->get('templating')->render('ChillPersonBundle:Person:list.html.twig',
|
||||||
array(
|
array(
|
||||||
'persons' => $this->search($terms, $start, $limit, $options),
|
'persons' => $this->search($terms, $start, $limit, $options),
|
||||||
'pattern' => 'trim($pattern)',
|
'pattern' => $this->recomposePattern($terms, array('nationality',
|
||||||
|
'firstname', 'lastname', 'birthdate', 'gender'), $terms['_domain']),
|
||||||
'total' => $this->count($terms)
|
'total' => $this->count($terms)
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user