Page MenuHomePhorge

D25116.1734609450.diff
No OneTemporary

D25116.1734609450.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
Thu, Dec 19, 11:57 (20 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1014919
Default Alt Text
D25116.1734609450.diff (782 B)

Event Timeline