Browse Source

sapi conditiongroup AND instead of OR

bach 3 years ago
parent
commit
4d05961269
1 changed files with 1 additions and 1 deletions
  1. 1 1
      web/modules/custom/materio_sapi/src/Controller/Base.php

+ 1 - 1
web/modules/custom/materio_sapi/src/Controller/Base.php

@@ -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.