Page MenuHomestyx hydra

No OneTemporary

diff --git a/src/applications/diviner/search/DivinerLiveSymbolFulltextEngine.php b/src/applications/diviner/search/DivinerLiveSymbolFulltextEngine.php
index 694af0a27b..80f3e0c026 100644
--- a/src/applications/diviner/search/DivinerLiveSymbolFulltextEngine.php
+++ b/src/applications/diviner/search/DivinerLiveSymbolFulltextEngine.php
@@ -1,43 +1,43 @@
<?php
final class DivinerLiveSymbolFulltextEngine
extends PhabricatorFulltextEngine {
protected function buildAbstractDocument(
PhabricatorSearchAbstractDocument $document,
$object) {
$atom = $object;
$book = $atom->getBook();
$document
->setDocumentTitle($atom->getTitle())
->setDocumentCreated($book->getDateCreated())
->setDocumentModified($book->getDateModified());
$document->addField(
PhabricatorSearchDocumentFieldType::FIELD_BODY,
$atom->getSummary());
$document->addRelationship(
PhabricatorSearchRelationship::RELATIONSHIP_BOOK,
$atom->getBookPHID(),
DivinerBookPHIDType::TYPECONST,
PhabricatorTime::getNow());
$document->addRelationship(
PhabricatorSearchRelationship::RELATIONSHIP_REPOSITORY,
$atom->getRepositoryPHID(),
PhabricatorRepositoryRepositoryPHIDType::TYPECONST,
PhabricatorTime::getNow());
$document->addRelationship(
$atom->getGraphHash()
- ? PhabricatorSearchRelationship::RELATIONSHIP_CLOSED
- : PhabricatorSearchRelationship::RELATIONSHIP_OPEN,
+ ? PhabricatorSearchRelationship::RELATIONSHIP_OPEN
+ : PhabricatorSearchRelationship::RELATIONSHIP_CLOSED,
$atom->getBookPHID(),
DivinerBookPHIDType::TYPECONST,
PhabricatorTime::getNow());
}
}

File Metadata

Mime Type
text/x-diff
Expires
Tue, Jun 10, 11:43 PM (6 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
141363
Default Alt Text
(1 KB)

Event Timeline