Page MenuHomePhabricator

D15267.id36839.diff
No OneTemporary

D15267.id36839.diff

diff --git a/src/applications/project/storage/PhabricatorProjectColumn.php b/src/applications/project/storage/PhabricatorProjectColumn.php
--- a/src/applications/project/storage/PhabricatorProjectColumn.php
+++ b/src/applications/project/storage/PhabricatorProjectColumn.php
@@ -169,14 +169,16 @@
// Normal columns and subproject columns go first, in a user-controlled
// order.
- // All the milestone columns go last, in their sequential order.
+ // All the milestone columns go last, in reverse order (newest on the
+ // left) so that you don't have to scroll across older milestones to get
+ // to the newest ones.
if (!$proxy || !$proxy->isMilestone()) {
$group = 'A';
$sequence = $this->getSequence();
} else {
$group = 'B';
- $sequence = $proxy->getMilestoneNumber();
+ $sequence = (10000000 - $proxy->getMilestoneNumber());
}
return sprintf('%s%012d', $group, $sequence);

File Metadata

Mime Type
text/plain
Expires
Oct 18 2024, 1:23 PM (4 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6723769
Default Alt Text
D15267.id36839.diff (959 B)

Event Timeline