From e551a619f1191774f0a1069426c36007e58986a7 Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Mon, 26 May 2014 12:39:52 +0200 Subject: [PATCH] Fixed showing posts --- src/Models/SearchServices/PostSearchService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Models/SearchServices/PostSearchService.php b/src/Models/SearchServices/PostSearchService.php index 76305e11..cc891cab 100644 --- a/src/Models/SearchServices/PostSearchService.php +++ b/src/Models/SearchServices/PostSearchService.php @@ -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);