Page MenuHomePhabricator

D8853.diff
No OneTemporary

D8853.diff

diff --git a/src/applications/differential/phid/DifferentialPHIDTypeRevision.php b/src/applications/differential/phid/DifferentialPHIDTypeRevision.php
--- a/src/applications/differential/phid/DifferentialPHIDTypeRevision.php
+++ b/src/applications/differential/phid/DifferentialPHIDTypeRevision.php
@@ -9,7 +9,7 @@
}
public function getTypeName() {
- return pht('Differential Revision');
+ return pht('Revision');
}
public function newObject() {
diff --git a/src/applications/people/phid/PhabricatorPeoplePHIDTypeUser.php b/src/applications/people/phid/PhabricatorPeoplePHIDTypeUser.php
--- a/src/applications/people/phid/PhabricatorPeoplePHIDTypeUser.php
+++ b/src/applications/people/phid/PhabricatorPeoplePHIDTypeUser.php
@@ -9,7 +9,7 @@
}
public function getTypeName() {
- return pht('Phabricator User');
+ return pht('User');
}
public function getTypeIcon() {
diff --git a/src/applications/search/query/PhabricatorSearchApplicationSearchEngine.php b/src/applications/search/query/PhabricatorSearchApplicationSearchEngine.php
--- a/src/applications/search/query/PhabricatorSearchApplicationSearchEngine.php
+++ b/src/applications/search/query/PhabricatorSearchApplicationSearchEngine.php
@@ -216,6 +216,13 @@
asort($results);
+ // Put tasks first, see T4606.
+ $results = array_select_keys(
+ $results,
+ array(
+ ManiphestPHIDTypeTask::TYPECONST,
+ )) + $results;
+
return $results;
}

File Metadata

Mime Type
text/plain
Expires
Wed, Oct 30, 12:22 AM (3 w, 12 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6713392
Default Alt Text
D8853.diff (1 KB)

Event Timeline