Page MenuHomePhabricator

D13298.diff
No OneTemporary

D13298.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
@@ -10,6 +10,10 @@
$atom = $this->loadDocumentByPHID($phid);
$book = $atom->getBook();
+ if (!$atom->getIsDocumentable()) {
+ return null;
+ }
+
$doc = $this->newDocument($phid)
->setDocumentTitle($atom->getTitle())
->setDocumentCreated($book->getDateCreated())

File Metadata

Mime Type
text/plain
Expires
Sun, May 12, 5:36 AM (3 w, 19 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6290042
Default Alt Text
D13298.diff (576 B)

Event Timeline