Update path to twig template with new syntax

This commit is contained in:
2023-07-28 12:16:50 +02:00
parent 55b8502896
commit e839b03cc9
111 changed files with 220 additions and 223 deletions

View File

@@ -56,7 +56,7 @@ class ReportSearch extends AbstractSearch implements ContainerAwareInterface
public function renderResult(array $terms, $start = 0, $limit = 50, array $options = [], $format = 'html')
{
return $this->container->get('templating')->render('ChillReportBundle:Search:results.html.twig', [
return $this->container->get('templating')->render('@ChillReport/Search/results.html.twig', [
'reports' => $this->getReports($terms, $start, $limit),
'total' => $this->count($terms),
'pattern' => $this->recomposePattern($terms, ['date'], 'report'),