Page MenuHomePhabricator

D13297.id32161.diff
No OneTemporary

D13297.id32161.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
@@ -23,7 +23,15 @@
PhabricatorSearchRelationship::RELATIONSHIP_BOOK,
$atom->getBookPHID(),
DivinerBookPHIDType::TYPECONST,
- $book->getDateCreated());
+ time());
+
+ $doc->addRelationship(
+ $atom->getGraphHash()
+ ? PhabricatorSearchRelationship::RELATIONSHIP_CLOSED
+ : PhabricatorSearchRelationship::RELATIONSHIP_OPEN,
+ $atom->getBookPHID(),
+ DivinerBookPHIDType::TYPECONST,
+ time());
return $doc;
}

File Metadata

Mime Type
text/plain
Expires
Mon, Mar 31, 10:43 AM (2 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7728026
Default Alt Text
D13297.id32161.diff (756 B)

Event Timeline