diff --git a/src/applications/audit/application/PhabricatorApplicationAudit.php b/src/applications/audit/application/PhabricatorApplicationAudit.php index a8209e28db..f21f5ab558 100644 --- a/src/applications/audit/application/PhabricatorApplicationAudit.php +++ b/src/applications/audit/application/PhabricatorApplicationAudit.php @@ -51,7 +51,7 @@ final class PhabricatorApplicationAudit extends PhabricatorApplication { $commits = id(new PhabricatorAuditCommitQuery()) ->withAuthorPHIDs($phids) - ->withStatus(PhabricatorAuditQuery::STATUS_OPEN) + ->withStatus(PhabricatorAuditCommitQuery::STATUS_CONCERN) ->execute(); $count = count($commits); diff --git a/src/applications/audit/controller/PhabricatorAuditListController.php b/src/applications/audit/controller/PhabricatorAuditListController.php index 1344d3bd8c..717545e3a1 100644 --- a/src/applications/audit/controller/PhabricatorAuditListController.php +++ b/src/applications/audit/controller/PhabricatorAuditListController.php @@ -271,8 +271,8 @@ final class PhabricatorAuditListController extends PhabricatorAuditController { $views = array(); switch ($this->filter) { case 'active': - $views[] = $this->buildAuditView($handle); $views[] = $this->buildCommitView($handle); + $views[] = $this->buildAuditView($handle); break; case 'audits': case 'user': @@ -455,7 +455,7 @@ final class PhabricatorAuditListController extends PhabricatorAuditController { switch ($this->filter) { case 'active': - $query->withStatus(PhabricatorAuditCommitQuery::STATUS_OPEN); + $query->withStatus(PhabricatorAuditCommitQuery::STATUS_CONCERN); break; default: switch ($this->filterStatus) {