@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.

Index inline comments on commits

Summary: Fixes T3044. We currently don't add these to the index.

Test Plan: Made a unique inline comment on a commit, then searched for it.

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T3044

Differential Revision: https://secure.phabricator.com/D9170

+11
+11
src/applications/repository/search/PhabricatorRepositoryCommitSearchIndexer.php
··· 77 77 } 78 78 } 79 79 80 + $inlines = id(new PhabricatorAuditInlineComment())->loadAllWhere( 81 + 'commitPHID = %s AND (auditCommentID IS NOT NULL)', 82 + $commit->getPHID()); 83 + foreach ($inlines as $inline) { 84 + if (strlen($inline->getContent())) { 85 + $doc->addField( 86 + PhabricatorSearchField::FIELD_COMMENT, 87 + $inline->getContent()); 88 + } 89 + } 90 + 80 91 return $doc; 81 92 } 82 93 }