Page MenuHomePhabricator

D8881.diff
No OneTemporary

D8881.diff

diff --git a/src/applications/audit/query/PhabricatorCommitSearchEngine.php b/src/applications/audit/query/PhabricatorCommitSearchEngine.php
--- a/src/applications/audit/query/PhabricatorCommitSearchEngine.php
+++ b/src/applications/audit/query/PhabricatorCommitSearchEngine.php
@@ -113,6 +113,10 @@
$names['open'] = pht('Open Audits');
+ if ($this->requireViewer()->isLoggedIn()) {
+ $names['authored'] = pht('Authored Commits');
+ }
+
$names['all'] = pht('All Commits');
return $names;
@@ -140,6 +144,9 @@
'auditorPHIDs',
PhabricatorAuditCommentEditor::loadAuditPHIDsForUser($viewer));
return $query;
+ case 'authored':
+ $query->setParameter('commitAuthorPHIDs', array($viewer->getPHID()));
+ return $query;
case 'problem':
$query->setParameter('commitAuthorPHIDs', array($viewer->getPHID()));
$query->setParameter(

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 25, 9:58 PM (11 h, 42 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6927734
Default Alt Text
D8881.diff (927 B)

Event Timeline