Procházet zdrojové kódy

reverted sapi conditiongroup OR instead of AND

bach před 2 roky
rodič
revize
cdce298444

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