Page MenuHomePhorge

D25116.1734556088.diff
No OneTemporary

D25116.1734556088.diff

diff --git a/src/applications/people/query/PhabricatorPeopleSearchEngine.php b/src/applications/people/query/PhabricatorPeopleSearchEngine.php
--- a/src/applications/people/query/PhabricatorPeopleSearchEngine.php
+++ b/src/applications/people/query/PhabricatorPeopleSearchEngine.php
@@ -200,6 +200,7 @@
protected function getBuiltinQueryNames() {
$names = array(
'active' => pht('Active'),
+ 'admin' => pht('Administrators'),
'all' => pht('All'),
);
@@ -221,6 +222,9 @@
case 'active':
return $query
->setParameter('isDisabled', false);
+ case 'admin':
+ return $query
+ ->setParameter('isAdmin', true);
case 'approval':
return $query
->setParameter('needsApproval', true)

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 18, 21:08 (4 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1014919
Default Alt Text
D25116.1734556088.diff (782 B)

Event Timeline