Skip to content

Commit

Permalink
1.0.0.alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed Apr 15, 2016
1 parent 3343a90 commit 56b0f30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CmsSearchComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
use skeeks\cms\models\CmsContentElement;
use skeeks\cms\models\CmsContentElementProperty;
use skeeks\cms\models\CmsContentProperty;
use skeeks\cms\models\CmsSearchPhrase;
use skeeks\cms\search\models\CmsSearchPhrase;
use skeeks\cms\modules\admin\controllers\AdminModelEditorController;
use skeeks\cms\rbac\CmsManager;
use yii\base\BootstrapInterface;
Expand Down Expand Up @@ -200,7 +200,7 @@ public function logResult(ActiveDataProvider $dataProvider)
$pages = round($dataProvider->totalCount / $dataProvider->pagination->pageSize);
}

$searchPhrase = new CmsSearchPhrase([
$searchPhrase = new \skeeks\cms\search\models\CmsSearchPhrase([
'phrase' => $this->searchQuery,
'result_count' => $dataProvider->totalCount,
'pages' => $pages,
Expand Down

0 comments on commit 56b0f30

Please sign in to comment.