mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
upgrade to new search interface
This commit is contained in:
parent
84c22fcf59
commit
74bb2b3e51
@ -78,7 +78,7 @@ class ReportSearch extends AbstractSearch implements ContainerAwareInterface
|
||||
return false;
|
||||
}
|
||||
|
||||
public function renderResult(array $terms, $start = 0, $limit = 50, array $options = array())
|
||||
public function renderResult(array $terms, $start = 0, $limit = 50, array $options = array(), $format = 'html')
|
||||
{
|
||||
return $this->container->get('templating')->render('ChillReportBundle:Search:results.html.twig', array(
|
||||
'reports' => $this->getReports($terms, $start, $limit),
|
||||
@ -178,7 +178,7 @@ class ReportSearch extends AbstractSearch implements ContainerAwareInterface
|
||||
return $whereElement;
|
||||
}
|
||||
|
||||
public function supports($domain)
|
||||
public function supports($domain, $format = 'html')
|
||||
{
|
||||
return $domain === 'report';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user