Change to only show local posters in top posting section
This commit is contained in:
parent
e9b3e4e7a8
commit
5cc0391093
@ -50,6 +50,7 @@ class TopPostersSection extends ProfileSection
|
||||
{
|
||||
$qry = 'SELECT profile.*, count(*) as value ' .
|
||||
'FROM profile JOIN notice ON profile.id = notice.profile_id ' .
|
||||
(common_config('public', 'localonly') ? 'WHERE is_local = 1 ' : '') .
|
||||
'GROUP BY profile.id ' .
|
||||
'ORDER BY value DESC ';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user