瀏覽代碼

reverted sapi conditiongroup OR instead of AND

bach 3 年之前
父節點
當前提交
cdce298444
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      web/modules/custom/materio_sapi/src/Controller/Base.php

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

@@ -88,7 +88,7 @@ class Base extends ControllerBase {
 
     // filter the search
     if ($this->filters) {
-      $filters_conditions = $this->query->createConditionGroup('AND');
+      $filters_conditions = $this->query->createConditionGroup('OR');
       foreach ($this->filters as $filter) {
         $filter = (int) $filter;
         foreach (['tag_tid', 'thesaurus_tid'] as $field) {