get_top_destinations: order by count desc

order is ascending by default, resulting in flop instead of top destinations.
This commit is contained in:
Daniel Friesel 2020-04-19 16:50:50 +02:00
parent 94932c4102
commit 0a87135e35

View file

@ -2733,7 +2733,7 @@ sub startup {
where user_id = ?
and real_dep_ts between ? and ?
group by arr_eva
order by count
order by count desc
limit 5
}, $uid, $opt{after}->epoch, $opt{before}->epoch
);