소스 검색

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) {