Browse Source

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

refactoring
Guillaume 1 year ago
parent
commit
e223cae7c7
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      common/logic/Document/Invoice/InvoiceSearch.php

+ 3
- 3
common/logic/Document/Invoice/InvoiceSearch.php View File

@@ -83,9 +83,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