diff --git a/src/applications/ponder/query/PonderQuestionQuery.php b/src/applications/ponder/query/PonderQuestionQuery.php index dd5db40a48..480f2c3296 100644 --- a/src/applications/ponder/query/PonderQuestionQuery.php +++ b/src/applications/ponder/query/PonderQuestionQuery.php @@ -129,7 +129,7 @@ final class PonderQuestionQuery return $questions; } - private function buildJoinsClause(AphrontDatabaseConnection $conn_r) { + protected function buildJoinClauseParts(AphrontDatabaseConnection $conn_r) { $joins = array(); if ($this->answererPHIDs) { @@ -141,7 +141,7 @@ final class PonderQuestionQuery $this->answererPHIDs); } - return implode(' ', $joins); + return $joins; } protected function getPrimaryTableAlias() { diff --git a/src/applications/ponder/query/PonderQuestionSearchEngine.php b/src/applications/ponder/query/PonderQuestionSearchEngine.php index b4cb7aef21..6692d8282a 100644 --- a/src/applications/ponder/query/PonderQuestionSearchEngine.php +++ b/src/applications/ponder/query/PonderQuestionSearchEngine.php @@ -96,7 +96,7 @@ final class PonderQuestionSearchEngine array($this->requireViewer()->getPHID())); case 'answered': return $query->setParameter( - 'answererPHIDs', + 'answerers', array($this->requireViewer()->getPHID())); }