Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phame/search/PhamePostFulltextEngine.php
Show All 22 Lines | protected function buildAbstractDocument( | ||||
$document->addRelationship( | $document->addRelationship( | ||||
$post->isArchived() | $post->isArchived() | ||||
? PhabricatorSearchRelationship::RELATIONSHIP_CLOSED | ? PhabricatorSearchRelationship::RELATIONSHIP_CLOSED | ||||
: PhabricatorSearchRelationship::RELATIONSHIP_OPEN, | : PhabricatorSearchRelationship::RELATIONSHIP_OPEN, | ||||
$post->getPHID(), | $post->getPHID(), | ||||
PhabricatorPhamePostPHIDType::TYPECONST, | PhabricatorPhamePostPHIDType::TYPECONST, | ||||
PhabricatorTime::getNow()); | PhabricatorTime::getNow()); | ||||
} | } | ||||
} | } |