Add a "problem commits" prebuilt filter to Audits
Summary: Ref T4715. We show this number on the homepage, provide an easy way to query matching commits. Test Plan: Clicked "problem commits", saw them. Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T4715 Differential Revision: https://secure.phabricator.com/D8880
This commit is contained in:
@@ -418,6 +418,7 @@ final class PhabricatorHomeMainController
|
||||
->withAuditorPHIDs($phids)
|
||||
->withAuditStatus(DiffusionCommitQuery::AUDIT_STATUS_OPEN)
|
||||
->withAuditAwaitingUser($user)
|
||||
->needAuditRequests(true)
|
||||
->needCommitData(true)
|
||||
->setLimit(10);
|
||||
|
||||
@@ -458,6 +459,7 @@ final class PhabricatorHomeMainController
|
||||
->withAuthorPHIDs($phids)
|
||||
->withAuditStatus(DiffusionCommitQuery::AUDIT_STATUS_CONCERN)
|
||||
->needCommitData(true)
|
||||
->needAuditRequests(true)
|
||||
->setLimit(10);
|
||||
|
||||
$commits = $query->execute();
|
||||
|
||||
Reference in New Issue
Block a user