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']), 'pattern' => $this->recomposePattern($terms, $this->getAvailableTerms(), $terms['_domain']),
'total' => $total, 'total' => $total,
'start' => $start, 'start' => $start,
'preview' => $options[SearchInterface::SEARCH_PREVIEW], 'preview' => $options[SearchInterface::SEARCH_PREVIEW_OPTION],
'paginator' => $paginator, 'paginator' => $paginator,
'search_name' => self::NAME 'search_name' => self::NAME
)); ));