mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 14:00:56 +01:00
Audit - fix profile link
Summary: forgot to update this with new application search. Test Plan: verified "View Commits" took me to my commits and the commits of another user from respective profile pages. Reviewers: epriestley Reviewed By: epriestley Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D8951
This commit is contained in:
parent
f9c1bf9266
commit
97f88f468b
2 changed files with 3 additions and 3 deletions
|
@ -33,7 +33,7 @@ final class AuditActionMenuEventListener extends PhabricatorEventListener {
|
|||
$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')
|
||||
|
|
|
@ -12,7 +12,7 @@ final class PhabricatorCommitSearchEngine
|
|||
|
||||
$saved->setParameter(
|
||||
'commitAuthorPHIDs',
|
||||
$this->readUsersFromRequest($request, 'commitAuthorPHIDs'));
|
||||
$this->readUsersFromRequest($request, 'authors'));
|
||||
|
||||
$saved->setParameter(
|
||||
'auditStatus',
|
||||
|
@ -88,7 +88,7 @@ final class PhabricatorCommitSearchEngine
|
|||
->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(
|
||||
|
|
Loading…
Reference in a new issue