mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
renaming SEARCH_PREVIEW => SEARCH_PREVIEW_OPTION
This commit is contained in:
parent
d20404bc3c
commit
ede767d01a
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user