mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +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:
parent
554c4f10c5
commit
037c749ef3
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue