Page MenuHomePhabricator

D8951.id.diff
No OneTemporary

D8951.id.diff

diff --git a/src/applications/audit/events/AuditActionMenuEventListener.php b/src/applications/audit/events/AuditActionMenuEventListener.php
--- a/src/applications/audit/events/AuditActionMenuEventListener.php
+++ b/src/applications/audit/events/AuditActionMenuEventListener.php
@@ -33,7 +33,7 @@
$user = $event->getValue('object');
$username = phutil_escape_uri($user->getUsername());
- $view_uri = '/audit/view/author/'.$username.'/';
+ $view_uri = '/audit/?authors='.$username;
return id(new PhabricatorActionView())
->setIcon('audit-dark')
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
@@ -12,7 +12,7 @@
$saved->setParameter(
'commitAuthorPHIDs',
- $this->readUsersFromRequest($request, 'commitAuthorPHIDs'));
+ $this->readUsersFromRequest($request, 'authors'));
$saved->setParameter(
'auditStatus',
@@ -88,7 +88,7 @@
->appendChild(
id(new AphrontFormTokenizerControl())
->setDatasource('/typeahead/common/users/')
- ->setName('commitAuthorPHIDs')
+ ->setName('authors')
->setLabel(pht('Commit Authors'))
->setValue(array_select_keys($handles, $commit_author_phids)))
->appendChild(

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 13, 6:07 PM (9 h, 55 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6728189
Default Alt Text
D8951.id.diff (1 KB)

Event Timeline