ソースを参照

[backend] Abonnements : pouvoir rechercher par subscription.username

prodstable
コミット
0055d81aac
1個のファイルの変更2行の追加1行の削除
  1. +2
    -1
      common/models/SubscriptionSearch.php

+ 2
- 1
common/models/SubscriptionSearch.php ファイルの表示

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

読み込み中…
キャンセル
保存