Przeglądaj źródła

[backend] Abonnements : pouvoir rechercher par subscription.username

refactoring
Guillaume Bourgeois 5 lat temu
rodzic
commit
0055d81aac
1 zmienionych plików z 2 dodań i 1 usunięć
  1. +2
    -1
      common/models/SubscriptionSearch.php

+ 2
- 1
common/models/SubscriptionSearch.php Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz