Page MenuHomePhabricator

D20281.diff
No OneTemporary

D20281.diff

diff --git a/src/applications/project/order/PhabricatorProjectColumnCreatedOrder.php b/src/applications/project/order/PhabricatorProjectColumnCreatedOrder.php
--- a/src/applications/project/order/PhabricatorProjectColumnCreatedOrder.php
+++ b/src/applications/project/order/PhabricatorProjectColumnCreatedOrder.php
@@ -27,8 +27,8 @@
protected function newSortVectorForObject($object) {
return array(
- -(int)$object->getDateCreated(),
- -(int)$object->getID(),
+ -1 * (int)$object->getDateCreated(),
+ -1 * (int)$object->getID(),
);
}
diff --git a/src/applications/project/order/PhabricatorProjectColumnPointsOrder.php b/src/applications/project/order/PhabricatorProjectColumnPointsOrder.php
--- a/src/applications/project/order/PhabricatorProjectColumnPointsOrder.php
+++ b/src/applications/project/order/PhabricatorProjectColumnPointsOrder.php
@@ -42,8 +42,8 @@
return array(
$overall_order,
- -(double)$points,
- -(int)$object->getID(),
+ -1.0 * (double)$points,
+ -1 * (int)$object->getID(),
);
}
diff --git a/src/applications/project/order/PhabricatorProjectColumnPriorityOrder.php b/src/applications/project/order/PhabricatorProjectColumnPriorityOrder.php
--- a/src/applications/project/order/PhabricatorProjectColumnPriorityOrder.php
+++ b/src/applications/project/order/PhabricatorProjectColumnPriorityOrder.php
@@ -39,7 +39,7 @@
private function newSortVectorForPriority($priority) {
return array(
- -(int)$priority,
+ -1 * (int)$priority,
);
}

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 22, 10:20 AM (5 h, 11 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7030040
Default Alt Text
D20281.diff (1 KB)

Event Timeline