mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 22:10:55 +01:00
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:
parent
814c28d39a
commit
129483d5ea
1 changed files with 3 additions and 0 deletions
|
@ -59,6 +59,9 @@ final class PhabricatorPeopleProfileCommitsController
|
|||
|
||||
$commits = id(new DiffusionCommitQuery())
|
||||
->setViewer($viewer)
|
||||
->needAuditRequests(true)
|
||||
->needCommitData(true)
|
||||
->needDrafts(true)
|
||||
->requireCapabilities(
|
||||
array(
|
||||
PhabricatorPolicyCapability::CAN_VIEW,
|
||||
|
|
Loading…
Reference in a new issue