reverted sapi conditiongroup OR instead of AND
This commit is contained in:
parent
4d05961269
commit
cdce298444
|
@ -88,7 +88,7 @@ class Base extends ControllerBase {
|
||||||
|
|
||||||
// filter the search
|
// filter the search
|
||||||
if ($this->filters) {
|
if ($this->filters) {
|
||||||
$filters_conditions = $this->query->createConditionGroup('AND');
|
$filters_conditions = $this->query->createConditionGroup('OR');
|
||||||
foreach ($this->filters as $filter) {
|
foreach ($this->filters as $filter) {
|
||||||
$filter = (int) $filter;
|
$filter = (int) $filter;
|
||||||
foreach (['tag_tid', 'thesaurus_tid'] as $field) {
|
foreach (['tag_tid', 'thesaurus_tid'] as $field) {
|
||||||
|
|
Loading…
Reference in New Issue