From 4d05961269f8f85cbdc6c0efc9c1f68626bd0e37 Mon Sep 17 00:00:00 2001 From: bach Date: Wed, 25 Aug 2021 22:52:41 +0200 Subject: [PATCH] sapi conditiongroup AND instead of OR --- web/modules/custom/materio_sapi/src/Controller/Base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/modules/custom/materio_sapi/src/Controller/Base.php b/web/modules/custom/materio_sapi/src/Controller/Base.php index f016a49e..a2483020 100644 --- a/web/modules/custom/materio_sapi/src/Controller/Base.php +++ b/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.