Skip to content

Commit 129483d

Browse files
Chad Littlechad
Chad Little
authored and
chad
committedMar 7, 2017
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
1 parent 814c28d commit 129483d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎src/applications/people/controller/PhabricatorPeopleProfileCommitsController.php

+3
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ private function buildCommitsView(PhabricatorUser $user) {
5959

6060
$commits = id(new DiffusionCommitQuery())
6161
->setViewer($viewer)
62+
->needAuditRequests(true)
63+
->needCommitData(true)
64+
->needDrafts(true)
6265
->requireCapabilities(
6366
array(
6467
PhabricatorPolicyCapability::CAN_VIEW,

0 commit comments

Comments
 (0)
Failed to load comments.