Skip to content

Commit

Permalink
Fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed Aug 16, 2017
1 parent 402095d commit 7b00704
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
CHANGELOG
==============

2.1.2.4
-----------------
* Fixed

2.1.2.3
-----------------
* Fixed
Expand Down
7 changes: 6 additions & 1 deletion src/components/V3toysComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function bootstrap($application)
if ($element = $query->one())
{
\Yii::$app->response->redirect($element->url);
\Yii::$app->end();
//\Yii::$app->end();
}
}
}
Expand Down Expand Up @@ -127,6 +127,11 @@ public function initDefaultCanUrl()
{
\Yii::$app->canurl->ADDimportant_pnames(['key']);
}

if (\Yii::$app->controller->action->uniqueId == 'cmsSearch/result/index')
{
\Yii::$app->canurl->ADDimportant_pnames(['q']);
}

}

Expand Down

0 comments on commit 7b00704

Please sign in to comment.