Page MenuHomePhabricator

D13298.id32162.diff
No OneTemporary

D13298.id32162.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, Oct 27, 5:39 AM (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6710361
Default Alt Text
D13298.id32162.diff (576 B)

Event Timeline