Commit fe9d9836 authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/explore' into 'master'

fix See merge request !198
parents 701b3ac8 75a43636
...@@ -59,7 +59,7 @@ class ExploreAppCategory extends BaseActiveRecord ...@@ -59,7 +59,7 @@ class ExploreAppCategory extends BaseActiveRecord
public function getApplications() public function getApplications()
{ {
return $this->hasMany(ExploreApp::className(), ['app_category_id' => 'id'])->select(['id', 'name', 'icon', 'app_url', 'slogan', 'type'])->orderBy('sort'); return $this->hasMany(ExploreApp::className(), ['app_category_id' => 'id'])->select(['id', 'name', 'icon', 'app_url', 'slogan', 'type'])->where(['status' => ExploreApp::STATUS_ON])->orderBy('sort');
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment