Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2680483
D25116.1734556088.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
782 B
Referenced Files
None
Subscribers
None
D25116.1734556088.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 18, 21:08 (9 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1014919
Default Alt Text
D25116.1734556088.diff (782 B)
Attached To
Mode
D25116: People: add a permalink to list Administrators
Attached
Detach File
Event Timeline
Log In to Comment