зеркало из https://github.com/mozilla/pjs.git
- cascase sort by test_run_id also
This commit is contained in:
Родитель
35187a3564
Коммит
7e11b4e58d
|
@ -272,9 +272,9 @@ sub getTestRuns() {
|
||||||
} else {
|
} else {
|
||||||
$where .= ' recommended=0';
|
$where .= ' recommended=0';
|
||||||
}
|
}
|
||||||
$order_by = ' ORDER BY finish_timestamp ASC';
|
$order_by = ' ORDER BY finish_timestamp ASC, test_run_id ASC';
|
||||||
} else {
|
} else {
|
||||||
$order_by = ' ORDER BY recommended DESC, finish_timestamp ASC';
|
$order_by = ' ORDER BY recommended DESC, finish_timestamp ASC, test_run_id ASC';
|
||||||
}
|
}
|
||||||
|
|
||||||
my $sql = $select . $where . $order_by;
|
my $sql = $select . $where . $order_by;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче