mirror of
https://we.phorge.it/source/phorge.git
synced 2025-04-02 23:48:18 +02: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_views = array();
|
||||||
|
|
||||||
$commit_uri = id(new PhutilURI('/audit/view/packagecommits/'))
|
$commit_uri = id(new PhutilURI('/audit/'))
|
||||||
->setQueryParams(
|
->setQueryParams(
|
||||||
array(
|
array(
|
||||||
'phid' => $package->getPHID(),
|
'auditorPHIDs' => $package->getPHID(),
|
||||||
));
|
));
|
||||||
|
|
||||||
$attention_commits = id(new DiffusionCommitQuery())
|
$attention_commits = id(new DiffusionCommitQuery())
|
||||||
|
|
|
@ -308,7 +308,7 @@ final class PhabricatorOwnersListController
|
||||||
phutil_tag(
|
phutil_tag(
|
||||||
'a',
|
'a',
|
||||||
array(
|
array(
|
||||||
'href' => '/audit/view/packagecommits/?phid='.$package->getPHID(),
|
'href' => '/audit/?auditorPHIDs='.$package->getPHID(),
|
||||||
),
|
),
|
||||||
pht('Related Commits')),
|
pht('Related Commits')),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue