mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-17 07:10:48 +03:00
fix
This commit is contained in:
parent
5e48b973ad
commit
ca1995b3ac
|
@ -312,7 +312,7 @@ class Mapper_User extends Mapper {
|
|||
country_id
|
||||
FROM
|
||||
".Config::Get('db.table.country_user')."
|
||||
GROUP BY country_id LIMIT 0, ?d
|
||||
GROUP BY country_id ORDER BY count DESC LIMIT 0, ?d
|
||||
) as cu
|
||||
JOIN ".Config::Get('db.table.country')." as c on cu.country_id=c.country_id
|
||||
ORDER BY c.country_name
|
||||
|
@ -332,7 +332,7 @@ class Mapper_User extends Mapper {
|
|||
city_id
|
||||
FROM
|
||||
".Config::Get('db.table.city_user')."
|
||||
GROUP BY city_id LIMIT 0, ?d
|
||||
GROUP BY city_id ORDER BY count DESC LIMIT 0, ?d
|
||||
) as cu
|
||||
JOIN ".Config::Get('db.table.city')." as c on cu.city_id=c.city_id
|
||||
ORDER BY c.city_name
|
||||
|
|
Loading…
Reference in a new issue