mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-14 17:29:42 +00:00
renaming SEARCH_PREVIEW => SEARCH_PREVIEW_OPTION
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user