Transactions - make quotes work for older transactions
Summary: Fixes T6731. I don't really understand the intent behind the two view classes here, but to get this to work I need to pass yet more data to the lower-level class. Test Plan: Viewed a task with many comments. Clicked "show older". Quoted everything I could. Verified for each quote that it quoted correctly, inlcuding linking to the prior transaction. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T6731 Differential Revision: https://secure.phabricator.com/D10973
This commit is contained in:
@@ -566,7 +566,9 @@ abstract class PhabricatorController extends AphrontController {
|
||||
->setObjectPHID($object->getPHID())
|
||||
->setTransactions($xactions)
|
||||
->setPager($pager)
|
||||
->setRenderData($render_data);
|
||||
->setRenderData($render_data)
|
||||
->setQuoteTargetID($this->getRequest()->getStr('quoteTargetID'))
|
||||
->setQuoteRef($this->getRequest()->getStr('quoteRef'));
|
||||
$object->willRenderTimeline($timeline, $this->getRequest());
|
||||
|
||||
return $timeline;
|
||||
|
||||
Reference in New Issue
Block a user