Attach commit data to commit list on people
Summary: Fixes T12360. I'll probably make a non-audit commit list for this, maybe, eventually, until then add all the needed audit information. Test Plan: Review commits in my profile, see data and not a fatal. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Maniphest Tasks: T12360 Differential Revision: https://secure.phabricator.com/D17475
This commit is contained in:
@@ -59,6 +59,9 @@ final class PhabricatorPeopleProfileCommitsController
|
||||
|
||||
$commits = id(new DiffusionCommitQuery())
|
||||
->setViewer($viewer)
|
||||
->needAuditRequests(true)
|
||||
->needCommitData(true)
|
||||
->needDrafts(true)
|
||||
->requireCapabilities(
|
||||
array(
|
||||
PhabricatorPolicyCapability::CAN_VIEW,
|
||||
|
||||
Reference in New Issue
Block a user