Skip to content

Commit

Permalink
bg
Browse files Browse the repository at this point in the history
  • Loading branch information
yidashi committed Jul 6, 2016
1 parent 2dabc5c commit 1654f02
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"dmstr/yii2-adminlte-asset": "*",
"yiisoft/yii2-composer": "2.0.4",
"yidashi/yii2-bootstrap-markdown": "^1.0",
"yidashi/yii2-webuploader": "1.1.1",
"yidashi/yii2-webuploader": "1.2.0",
"yidashi/yii2-ueditor": "1.0.1",
"mihaildev/yii2-elfinder": "^1.0",
"qiniu/php-sdk": "^7.0",
Expand Down
14 changes: 7 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/models/Article.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public static function hots($categoryId, $size = 10)
{
return self::find()
->where(['category_id' => $categoryId])
->active()
->normal()
->limit($size)
->orderBy('view desc')
->all();
Expand Down

0 comments on commit 1654f02

Please sign in to comment.