Fixed showing posts

This commit is contained in:
Marcin Kurczewski 2014-05-26 12:39:52 +02:00
parent 34b5de72f5
commit e551a619f1

View file

@ -17,7 +17,7 @@ class PostSearchService extends AbstractSearchService
$stmt->setTable('post_search');
Core::getDatabase()->execute($stmt);
$innerStmt = Sql\Statements::select($searchQuery);
$innerStmt = Sql\Statements::select();
$innerStmt->setColumn('post.id');
$innerStmt->setTable('post');
self::decorateParser($innerStmt, $searchQuery);