Browse Source

[Backend] Documents > liste : erreur recherche par utilisateur #874

feature/souke
Guillaume 1 year ago
parent
commit
e067e02d61
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      common/models/InvoiceSearch.php

+ 3
- 3
common/models/InvoiceSearch.php View File

@@ -85,9 +85,9 @@ class InvoiceSearch extends Invoice

$query->andFilterWhere([
'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;

Loading…
Cancel
Save