瀏覽代碼

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

refactoring
Guillaume 1 年之前
父節點
當前提交
e223cae7c7
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. +3
    -3
      common/logic/Document/Invoice/InvoiceSearch.php

+ 3
- 3
common/logic/Document/Invoice/InvoiceSearch.php 查看文件

@@ -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…
取消
儲存