$query->andFilterWhere([ | $query->andFilterWhere([ | ||||
'or', | 'or', | ||||
['like', 'user.lastname', $this->username], | |||||
['like', 'user.name', $this->username], | |||||
['like', 'user.name_legal_person', $this->username], | |||||
['like', 'user_invoice.lastname', $this->username], | |||||
['like', 'user_invoice.name', $this->username], | |||||
['like', 'user_invoice.name_legal_person', $this->username], | |||||
]); | ]); | ||||
return $dataProvider; | return $dataProvider; |