1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-27 07:50:57 +01:00

Make searching by tags work in Phriction

Summary: Fixes T12860. Some joins were being dropped because we didn't call `parent::...`

Test Plan:
  - Tagged a document.
  - Searched for documents with that tag.
  - Before change: got all documents.
  - After change: got only tagged documents.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12860

Differential Revision: https://secure.phabricator.com/D18145
This commit is contained in:
epriestley 2017-06-22 10:23:47 -07:00
parent eb201fce38
commit 519bec3e6f

View file

@ -163,7 +163,7 @@ final class PhrictionDocumentQuery
}
protected function buildJoinClauseParts(AphrontDatabaseConnection $conn) {
$joins = array();
$joins = parent::buildJoinClauseParts($conn);
if ($this->getOrderVector()->containsKey('updated')) {
$content_dao = new PhrictionContent();