forked from GNUsocial/gnu-social
added more fields to the group by.
This commit is contained in:
parent
dd742a560d
commit
d50a813eb1
@ -68,7 +68,8 @@ 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.reply_to,notice.is_local,notice.source,notice.conversation, ' .
|
||||
'notice.lat,notice.long,location_id,location_ns' .
|
||||
'ORDER BY weight DESC';
|
||||
|
||||
$offset = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user