1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 01:02:42 +01:00

Fix missing setQuoteRef() on Commit detail pages in Diffusion

Summary: Fixes T12253.

Test Plan:
  - Before change: used "Quote Comment", saw "In null, alice wrote:" in quoted text.
  - After change: used "Quote Comment", saw proper reference to the commit/page. Clicked reference, was sent to the comment properly.

{F2859093}

Reviewers: chad, avivey

Reviewed By: avivey

Maniphest Tasks: T12253

Differential Revision: https://secure.phabricator.com/D17343
This commit is contained in:
epriestley 2017-02-13 07:39:56 -08:00
parent 554c4f10c5
commit 037c749ef3

View file

@ -705,7 +705,11 @@ final class DiffusionCommitController extends DiffusionController {
$timeline = $this->buildTransactionTimeline( $timeline = $this->buildTransactionTimeline(
$commit, $commit,
new PhabricatorAuditTransactionQuery()); new PhabricatorAuditTransactionQuery());
$commit->willRenderTimeline($timeline, $this->getRequest()); $commit->willRenderTimeline($timeline, $this->getRequest());
$timeline->setQuoteRef($commit->getMonogram());
return $timeline; return $timeline;
} }