Fix #15: Changed Builds to sort by major versions, then time ascending #18
@ -79,10 +79,10 @@ class BuildsRenderer {
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Then sort by time descending.
|
// Then sort by time ascending.
|
||||||
if ($a->file_mtime > $b->file_mtime) {
|
if ($a->file_mtime < $b->file_mtime) {
|
||||||
return -1;
|
return -1;
|
||||||
} else if ($a->file_mtime < $b->file_mtime) {
|
} else if ($a->file_mtime > $b->file_mtime) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user