зеркало из https://github.com/mozilla/pjs.git
- cascase sort by product_id and branch_id to give testers a fighting chance of finding the right test run when we have many of them in the future (hopefully)
This commit is contained in:
Родитель
7e11b4e58d
Коммит
6c70231c4a
|
@ -272,9 +272,9 @@ sub getTestRuns() {
|
|||
} else {
|
||||
$where .= ' recommended=0';
|
||||
}
|
||||
$order_by = ' ORDER BY finish_timestamp ASC, test_run_id ASC';
|
||||
$order_by = ' ORDER BY finish_timestamp ASC, product_id ASC, branch_id ASC, test_run_id ASC';
|
||||
} else {
|
||||
$order_by = ' ORDER BY recommended DESC, finish_timestamp ASC, test_run_id ASC';
|
||||
$order_by = ' ORDER BY recommended DESC, finish_timestamp ASC, product_id ASC, branch_id ASC, test_run_id ASC';
|
||||
}
|
||||
|
||||
my $sql = $select . $where . $order_by;
|
||||
|
|
Загрузка…
Ссылка в новой задаче