瀏覽代碼

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

feature/souke
Guillaume 1 年之前
父節點
當前提交
e067e02d61
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. +3
    -3
      common/models/InvoiceSearch.php

+ 3
- 3
common/models/InvoiceSearch.php 查看文件

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