diff --git a/Search/ReportSearch.php b/Search/ReportSearch.php index e5a80716a..be4063802 100644 --- a/Search/ReportSearch.php +++ b/Search/ReportSearch.php @@ -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'; }