Page MenuHomePhabricator

D17490.diff
No OneTemporary

D17490.diff

diff --git a/src/applications/diffusion/editor/DiffusionRepositoryEditEngine.php b/src/applications/diffusion/editor/DiffusionRepositoryEditEngine.php
--- a/src/applications/diffusion/editor/DiffusionRepositoryEditEngine.php
+++ b/src/applications/diffusion/editor/DiffusionRepositoryEditEngine.php
@@ -24,6 +24,10 @@
return true;
}
+ public function getQuickCreateOrderVector() {
+ return id(new PhutilSortVector())->addInt(300);
+ }
+
public function getEngineName() {
return pht('Repositories');
}
diff --git a/src/applications/maniphest/editor/ManiphestEditEngine.php b/src/applications/maniphest/editor/ManiphestEditEngine.php
--- a/src/applications/maniphest/editor/ManiphestEditEngine.php
+++ b/src/applications/maniphest/editor/ManiphestEditEngine.php
@@ -25,6 +25,10 @@
return true;
}
+ public function getQuickCreateOrderVector() {
+ return id(new PhutilSortVector())->addInt(100);
+ }
+
protected function newEditableObject() {
return ManiphestTask::initializeNewTask($this->getViewer());
}
diff --git a/src/applications/project/engine/PhabricatorProjectEditEngine.php b/src/applications/project/engine/PhabricatorProjectEditEngine.php
--- a/src/applications/project/engine/PhabricatorProjectEditEngine.php
+++ b/src/applications/project/engine/PhabricatorProjectEditEngine.php
@@ -30,6 +30,10 @@
return true;
}
+ public function getQuickCreateOrderVector() {
+ return id(new PhutilSortVector())->addInt(200);
+ }
+
public function getEngineName() {
return pht('Projects');
}

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 27, 8:42 AM (17 h, 52 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6793052
Default Alt Text
D17490.diff (1 KB)

Event Timeline