Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13971435
D15267.id36839.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
959 B
Referenced Files
None
Subscribers
None
D15267.id36839.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D15267: On workboards, put older milestone columns on the right
Attached
Detach File
Event Timeline
Log In to Comment