1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +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:
Bob Trahan 2014-05-02 08:56:16 -07:00
parent f9c1bf9266
commit 97f88f468b
2 changed files with 3 additions and 3 deletions

View file

@ -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')

View file

@ -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(