renaming SearchInterface::SEARCH_PREVIEW => SEARCH_PREVIEW_OPTION

This commit is contained in:
Julien Fastré 2016-08-25 22:18:40 +02:00
parent 2a10929d36
commit 82b0fad8de

View File

@ -107,7 +107,7 @@ class EventSearch extends AbstractSearch
'pattern' => $this->recomposePattern($terms, $this->getAvailableTerms(), $terms['_domain']),
'total' => $total,
'start' => $start,
'preview' => $options[SearchInterface::SEARCH_PREVIEW],
'preview' => $options[SearchInterface::SEARCH_PREVIEW_OPTION],
'paginator' => $paginator,
'search_name' => self::NAME
));