added notice.location to group by

This commit is contained in:
Brenda Wallace 2010-05-15 15:56:43 +12:00
parent 6f19830c9a
commit 48dc899acb
1 changed files with 1 additions and 1 deletions

View File

@ -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.repeat_of' .
'notice.lat,notice.lon,location_id,location_ns,notice.repeat_of,notice.location' .
' ORDER BY weight DESC';
$offset = 0;