mirror of
https://github.com/derf/travelynx
synced 2024-12-02 09:19:11 +00:00
get_top_destinations: order by count desc
order is ascending by default, resulting in flop instead of top destinations.
This commit is contained in:
parent
94932c4102
commit
0a87135e35
1 changed files with 1 additions and 1 deletions
|
@ -2733,7 +2733,7 @@ sub startup {
|
||||||
where user_id = ?
|
where user_id = ?
|
||||||
and real_dep_ts between ? and ?
|
and real_dep_ts between ? and ?
|
||||||
group by arr_eva
|
group by arr_eva
|
||||||
order by count
|
order by count desc
|
||||||
limit 5
|
limit 5
|
||||||
}, $uid, $opt{after}->epoch, $opt{before}->epoch
|
}, $uid, $opt{after}->epoch, $opt{before}->epoch
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue