public function getArticleMultArticles() { return $this->hasMany(MArticleMultArticle::className(), ['article_id' => 'article_id']); }
public function getArticleMultArticles() { // return $this->hasMany(MArticleMultArticle::className(), ['article_mult_id' => 'article_mult_id']); return $this->hasMany(MArticleMultArticle::className(), ['article_mult_id' => 'article_mult_id'])->orderBy(['sort_order' => SORT_DESC, 'article_mult_article_id' => SORT_DESC]); }