forked from GNUsocial/gnu-social
added missing field to the group by. this makes postgres happy
This commit is contained in:
parent
7bd6b62461
commit
9bb18541df
@ -72,7 +72,7 @@ class PopularNoticeSection extends NoticeSection
|
||||
$qry .= ' GROUP BY notice.id,notice.profile_id,notice.content,notice.uri,' .
|
||||
'notice.rendered,notice.url,notice.created,notice.modified,' .
|
||||
'notice.reply_to,notice.is_local,notice.source,notice.conversation, ' .
|
||||
'notice.lat,notice.lon,location_id,location_ns' .
|
||||
'notice.lat,notice.lon,location_id,location_ns,notice.repeat_of' .
|
||||
' ORDER BY weight DESC';
|
||||
|
||||
$offset = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user