mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
Owners / Audit - restore link to view audits related to an owners package.
Summary: Fixes T5387. I broke this in D8805. Fix it by using the application search parameters that D8805 introduced. Test Plan: verified that the two links mentioned in T5387 worked for me. Also tried manual links on secure.phabricator.com and those showed the right data even...! Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T5387 Differential Revision: https://secure.phabricator.com/D10817
This commit is contained in:
parent
3fa8b152b6
commit
796428c810
2 changed files with 3 additions and 3 deletions
|
@ -139,10 +139,10 @@ final class PhabricatorOwnersDetailController
|
|||
|
||||
$commit_views = array();
|
||||
|
||||
$commit_uri = id(new PhutilURI('/audit/view/packagecommits/'))
|
||||
$commit_uri = id(new PhutilURI('/audit/'))
|
||||
->setQueryParams(
|
||||
array(
|
||||
'phid' => $package->getPHID(),
|
||||
'auditorPHIDs' => $package->getPHID(),
|
||||
));
|
||||
|
||||
$attention_commits = id(new DiffusionCommitQuery())
|
||||
|
|
|
@ -308,7 +308,7 @@ final class PhabricatorOwnersListController
|
|||
phutil_tag(
|
||||
'a',
|
||||
array(
|
||||
'href' => '/audit/view/packagecommits/?phid='.$package->getPHID(),
|
||||
'href' => '/audit/?auditorPHIDs='.$package->getPHID(),
|
||||
),
|
||||
pht('Related Commits')),
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue