Skip to content

Commit

Permalink
Merge branch 'feature/12-search'
Browse files Browse the repository at this point in the history
  • Loading branch information
amazeika committed Mar 27, 2017
2 parents 161ef46 + cbeaec3 commit 6b58091
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions model/activities.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ public function __construct(KObjectConfig $config)
$state->sort = 'created_on';
}

protected function _initialize(KObjectConfig $config)
{
$config->append(array('behaviors' => array('searchable')));
parent::_initialize($config);
}

/**
* Builds WHERE clause for the query.
*
Expand Down

0 comments on commit 6b58091

Please sign in to comment.