protected function createSearchCondition()
{
$table = $this->getTableInfo();
if (strlen($str = $this->getSearchText()->getText()) > 0) {
$builder = $table->createCommandBuilder($this->getRecordFinder()->getDbConnection());
return $builder->getSearchExpression($this->getFields(), $str);
}
}