mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-14 06:14: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,
|
$pattern,
|
||||||
0,
|
0,
|
||||||
5,
|
5,
|
||||||
array(SearchInterface::SEARCH_PREVIEW => true)
|
array(SearchInterface::SEARCH_PREVIEW_OPTION => true)
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
// we want search on a specific search provider. Display full results.
|
// we want search on a specific search provider. Display full results.
|
||||||
@ -77,7 +77,7 @@ class SearchController extends Controller
|
|||||||
$name,
|
$name,
|
||||||
$paginatorFactory->getCurrentPageFirstItemNumber(),
|
$paginatorFactory->getCurrentPageFirstItemNumber(),
|
||||||
$paginatorFactory->getCurrentItemPerPage(),
|
$paginatorFactory->getCurrentItemPerPage(),
|
||||||
array(SearchInterface::SEARCH_PREVIEW => false)
|
array(SearchInterface::SEARCH_PREVIEW_OPTION => false)
|
||||||
)];
|
)];
|
||||||
}
|
}
|
||||||
} catch (UnknowSearchDomainException $ex) {
|
} catch (UnknowSearchDomainException $ex) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user