Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15479420
D10565.id30794.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
692 B
Referenced Files
None
Subscribers
None
D10565.id30794.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
@@ -165,6 +165,7 @@
protected function getBuiltinQueryNames() {
$names = array(
+ 'active' => pht('Active'),
'all' => pht('All'),
);
@@ -181,6 +182,9 @@
$query->setQueryKey($query_key);
switch ($query_key) {
+ case 'active':
+ return $query
+ ->setParameter('noDisabled', true);
case 'all':
return $query;
case 'approval':
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 9, 7:04 AM (1 w, 3 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7725633
Default Alt Text
D10565.id30794.diff (692 B)
Attached To
Mode
D10565: Make "Active" the default query for People
Attached
Detach File
Event Timeline
Log In to Comment