@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at recaptime-dev/main 26 lines 606 B view raw
1<?php 2 3final class DivinerLiveBookFulltextEngine 4 extends PhabricatorFulltextEngine { 5 6 protected function buildAbstractDocument( 7 PhabricatorSearchAbstractDocument $document, 8 $object) { 9 10 $book = $object; 11 12 $document->setDocumentTitle($book->getTitle()); 13 14 $document->addField( 15 PhabricatorSearchDocumentFieldType::FIELD_BODY, 16 $book->getPreface()); 17 18 $document->addRelationship( 19 PhabricatorSearchRelationship::RELATIONSHIP_REPOSITORY, 20 $book->getRepositoryPHID(), 21 PhabricatorRepositoryRepositoryPHIDType::TYPECONST, 22 $book->getDateCreated()); 23 } 24 25 26}