瀏覽代碼

[backend] Abonnements : pouvoir rechercher par subscription.username

dev
Guillaume Bourgeois 5 年之前
父節點
當前提交
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]) ;

Loading…
取消
儲存