renaming SEARCH_PREVIEW => SEARCH_PREVIEW_OPTION

This commit is contained in:
Julien Fastré 2016-08-25 22:15:33 +02:00
parent d20404bc3c
commit ede767d01a

View File

@ -62,7 +62,7 @@ class SearchController extends Controller
$pattern,
0,
5,
array(SearchInterface::SEARCH_PREVIEW => true)
array(SearchInterface::SEARCH_PREVIEW_OPTION => true)
);
} else {
// we want search on a specific search provider. Display full results.
@ -77,7 +77,7 @@ class SearchController extends Controller
$name,
$paginatorFactory->getCurrentPageFirstItemNumber(),
$paginatorFactory->getCurrentItemPerPage(),
array(SearchInterface::SEARCH_PREVIEW => false)
array(SearchInterface::SEARCH_PREVIEW_OPTION => false)
)];
}
} catch (UnknowSearchDomainException $ex) {