Page MenuHomePhabricator

D13297.diff
No OneTemporary

D13297.diff

diff --git a/src/applications/diviner/search/DivinerAtomSearchIndexer.php b/src/applications/diviner/search/DivinerAtomSearchIndexer.php
--- a/src/applications/diviner/search/DivinerAtomSearchIndexer.php
+++ b/src/applications/diviner/search/DivinerAtomSearchIndexer.php
@@ -27,7 +27,15 @@
PhabricatorSearchRelationship::RELATIONSHIP_BOOK,
$atom->getBookPHID(),
DivinerBookPHIDType::TYPECONST,
- $book->getDateCreated());
+ PhabricatorTime::getNow());
+
+ $doc->addRelationship(
+ $atom->getGraphHash()
+ ? PhabricatorSearchRelationship::RELATIONSHIP_CLOSED
+ : PhabricatorSearchRelationship::RELATIONSHIP_OPEN,
+ $atom->getBookPHID(),
+ DivinerBookPHIDType::TYPECONST,
+ PhabricatorTime::getNow());
return $doc;
}

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 31, 9:58 PM (9 h, 8 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7079866
Default Alt Text
D13297.diff (794 B)

Event Timeline