Skip to content

Commit

Permalink
Fixed breadcrumbs subtitle
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverFire committed Aug 27, 2015
1 parent 68c4d70 commit e9f8728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/server/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* @var View $this
*/
$this->title = Yii::t('app', 'Servers');
$this->subtitle = Yii::t('app', Yii::$app->request->queryParams ? 'filtered list' : 'full list');
$this->subtitle = Yii::t('app', array_filter(Yii::$app->request->get($model->formName(), [])) ? 'filtered list' : 'full list');
$this->breadcrumbs->setItems([
$this->title
]);
Expand Down

0 comments on commit e9f8728

Please sign in to comment.