src/ORM/Filters/MultiFieldPartialMatchFilter.php
public function apply(DataQuery $query)
    {
        $orGroup = $query->disjunctiveGroup();
        $orGroup = parent::apply($orGroup);

        if (count($this->subfilters) > 0) {
            foreach ($this->subfilters as $f) {
                $orGroup = $f->apply($orGroup);
            }
        }

        // The original query will have been affected by the things added to $orGroup above
        // but returning this instead of that will cause new filters to be added as AND
        return $query;
    }
public function apply(DataQuery $query)
    {
        $orGroup = $query->disjunctiveGroup();
        $orGroup = parent::apply($orGroup);

        if (count($this->subfilters) > 0) {
            foreach ($this->subfilters as $f) {
                $orGroup = $f->apply($orGroup);
            }
        }

        // The original query will have been affected by the things added to $orGroup above
        // but returning this instead of that will cause new filters to be added as AND
        return $query;
    }
@param DataQuery $query

@return $this|DataQuery