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:
		@@ -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')),
 | 
			
		||||
      );
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user