mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-19 21:32:43 +01:00
Put older milestones back on the left
Summary:
This reverts commit 3f50ba90f1
.
Fixes T10412. Everyone seems to hate this and I don't feel strongly about it. It's definitely a little weird.
Test Plan: Straight revert.
Reviewers: chad
Reviewed By: chad
Maniphest Tasks: T10412
Differential Revision: https://secure.phabricator.com/D15644
This commit is contained in:
parent
ded0344745
commit
9b3c09d248
1 changed files with 2 additions and 4 deletions
|
@ -170,16 +170,14 @@ final class PhabricatorProjectColumn
|
|||
// Normal columns and subproject columns go first, in a user-controlled
|
||||
// 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.
|
||||
// All the milestone columns go last, in their sequential order.
|
||||
|
||||
if (!$proxy || !$proxy->isMilestone()) {
|
||||
$group = 'A';
|
||||
$sequence = $this->getSequence();
|
||||
} else {
|
||||
$group = 'B';
|
||||
$sequence = (10000000 - $proxy->getMilestoneNumber());
|
||||
$sequence = $proxy->getMilestoneNumber();
|
||||
}
|
||||
|
||||
return sprintf('%s%012d', $group, $sequence);
|
||||
|
|
Loading…
Reference in a new issue