sapi conditiongroup AND instead of OR

This commit is contained in:
Bachir Soussi Chiadmi 2021-08-25 22:52:41 +02:00
parent 57d042e5d8
commit 4d05961269
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ class Base extends ControllerBase {
// - " edismax " => ???
$parse_mode = \Drupal::service('plugin.manager.search_api.parse_mode')
->createInstance('direct');
$parse_mode->setConjunction('AND');
$parse_mode->setConjunction('OR');
$this->query->setParseMode($parse_mode);
// Set fulltext search keywords and fields.