Explorar el Código

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

prodstable
Guillaume hace 2 años
padre
commit
e067e02d61
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. +3
    -3
      common/models/InvoiceSearch.php

+ 3
- 3
common/models/InvoiceSearch.php Ver fichero

@@ -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;

Cargando…
Cancelar
Guardar