yii2 multiple et filtrewhere

    $query->andFilterWhere([
        'or',
        ['like', 'ap.fiscal_name', $this->relatedName],
        ['like', 'ad.fiscal_name', $this->relatedName],
    ]);
Panicky Panther