Closed klimov-paul closed 8 years ago
Variation relation may have extra attributes conditions, for example:
public function getFeaturedItems() { return $this->hasMany(Item::className(), ['collectionId' => 'id'])->andWhere(['type' => 'featured']); }
In this case extra condition should be converted to the variation model attributes, prefilling type
type
Resolved by commit 7a0d27e4d89a363db4ce22a91b738acc84005f4b
Variation relation may have extra attributes conditions, for example:
In this case extra condition should be converted to the variation model attributes, prefilling
type