fix_request
This commit is contained in:
parent
a0fe5ed985
commit
61dbc0e618
@ -46,7 +46,7 @@ class UserCardSearch extends UserCard
|
||||
{
|
||||
$query = UserCard::find();
|
||||
// add conditions that should always apply here
|
||||
|
||||
$query->where(['id'])->distinct();
|
||||
//try join 3 tables
|
||||
$query->leftJoin('card_skill', 'card_skill.card_id=user_card.id');
|
||||
$query->leftJoin('skill', 'skill.id=card_skill.skill_id');
|
||||
|
Loading…
Reference in New Issue
Block a user