protected function carryOverIncompatibleQueries()
    {
        foreach ($this->filters['strata_relations'] as $queryType => $queryDetails) {
            if ($this->hasRelationQuery($queryType, 'AND') && $this->hasRelationQuery($queryType, 'OR')) {
                $this->andRelationToPostIn($queryType);
            }
        }

        return $this;
    }
protected function carryOverIncompatibleQueries()
    {
        foreach ($this->filters['strata_relations'] as $queryType => $queryDetails) {
            if ($this->hasRelationQuery($queryType, 'AND') && $this->hasRelationQuery($queryType, 'OR')) {
                $this->andRelationToPostIn($queryType);
            }
        }

        return $this;
    }
protected function carryOverIncompatibleQueries ( ) { foreach ( $ this -> filters [ 'strata_relations' ] as $ queryType => $ queryDetails ) { if ( $ this -> hasRelationQuery ( $ queryType , 'AND' ) && $ this -> hasRelationQuery ( $ queryType , 'OR' ) ) { $ this -> andRelationToPostIn ( $ queryType ) ; } } return $ this ; }
If previous meta queries are set, they may prevent the combination of
both 'AND' and 'OR' relation. Carries over the exclusive fields as a list of
IDs to apply in a Query with a new meta_query relation type.
@return Query
If previous meta queries are set they may prevent the combination of both AND and OR relation . Carries over the exclusive fields as a list of IDs to apply in a Query with a new meta_query relation type .