Changeset View
Changeset View
Standalone View
Standalone View
src/applications/audit/query/PhabricatorCommitSearchEngine.php
Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Lines | return array( | ||||
->setLabel(pht('Repositories')) | ->setLabel(pht('Repositories')) | ||||
->setKey('repositoryPHIDs') | ->setKey('repositoryPHIDs') | ||||
->setAliases(array('repository', 'repositories')) | ->setAliases(array('repository', 'repositories')) | ||||
->setDatasource(new DiffusionRepositoryDatasource()), | ->setDatasource(new DiffusionRepositoryDatasource()), | ||||
); | ); | ||||
} | } | ||||
protected function getURI($path) { | protected function getURI($path) { | ||||
return '/audit/'.$path; | return '/diffusion/commit/'.$path; | ||||
} | } | ||||
protected function getBuiltinQueryNames() { | protected function getBuiltinQueryNames() { | ||||
$names = array(); | $names = array(); | ||||
if ($this->requireViewer()->isLoggedIn()) { | if ($this->requireViewer()->isLoggedIn()) { | ||||
$names['need'] = pht('Needs Audit'); | $names['need'] = pht('Needs Audit'); | ||||
$names['problem'] = pht('Problem Commits'); | $names['problem'] = pht('Problem Commits'); | ||||
▲ Show 20 Lines • Show All 109 Lines • Show Last 20 Lines |