Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14747606
D20281.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D20281.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D20281: Make workboard sort-order inversions more clear by using "-1 * ..." instead of "(int)-(int)"
Attached
Detach File
Event Timeline
Log In to Comment