Explorar el Código

[backend] Abonnements : pouvoir rechercher par subscription.username

dev
Guillaume Bourgeois hace 5 años
padre
commit
0055d81aac
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. +2
    -1
      common/models/SubscriptionSearch.php

+ 2
- 1
common/models/SubscriptionSearch.php Ver fichero

@@ -134,7 +134,8 @@ class SubscriptionSearch extends Subscription
$query->andFilterWhere([
'or',
['like', 'user.lastname', $this->username],
['like', 'user.name', $this->username]
['like', 'user.name', $this->username],
['like', 'subscription.username', $this->username]
]);
$query->andFilterWhere(['like', 'product.name', $this->product_name]) ;

Cargando…
Cancelar
Guardar