order dates ascending so that appending at the end is in usual order

This commit is contained in:
Robert Kaiser 2014-02-06 18:29:12 +01:00
Родитель 3ff0b50828
Коммит 5bcf62477d
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -203,7 +203,7 @@ foreach ($prodchannels as $product=>$channels) {
." AND crashes_by_user.report_date < (product_versions.build_date + interval '".$max_build_age."')"
." AND crashes_by_user.report_date BETWEEN '".$day_start."' AND '".$day_end."' "
.'GROUP BY crashes_by_user.report_date, crash_types.crash_type '
.'ORDER BY crashes_by_user.report_date DESC;';
.'ORDER BY crashes_by_user.report_date ASC;';
$result = pg_query($db_conn, $db_query);
if (!$result) {