@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Make workboard sort-order inversions more clear by using "-1 * ..." instead of "(int)-(int)"

Summary: Depends on D20279. See D20269. Agreed that explicit `-1` is probably more clear.

Test Plan: Viewed boards in each sort/group order.

Reviewers: amckinley

Reviewed By: amckinley

Differential Revision: https://secure.phabricator.com/D20281

+5 -5
+2 -2
src/applications/project/order/PhabricatorProjectColumnCreatedOrder.php
··· 27 27 28 28 protected function newSortVectorForObject($object) { 29 29 return array( 30 - -(int)$object->getDateCreated(), 31 - -(int)$object->getID(), 30 + -1 * (int)$object->getDateCreated(), 31 + -1 * (int)$object->getID(), 32 32 ); 33 33 } 34 34
+2 -2
src/applications/project/order/PhabricatorProjectColumnPointsOrder.php
··· 42 42 43 43 return array( 44 44 $overall_order, 45 - -(double)$points, 46 - -(int)$object->getID(), 45 + -1.0 * (double)$points, 46 + -1 * (int)$object->getID(), 47 47 ); 48 48 } 49 49
+1 -1
src/applications/project/order/PhabricatorProjectColumnPriorityOrder.php
··· 39 39 40 40 private function newSortVectorForPriority($priority) { 41 41 return array( 42 - -(int)$priority, 42 + -1 * (int)$priority, 43 43 ); 44 44 } 45 45