summaryrefslogtreecommitdiff
path: root/lib/groupsbypostssection.php
diff options
context:
space:
mode:
authorCiaranG <ciaran@ciarang.com>2009-07-19 08:05:53 +0100
committerCiaranG <ciaran@ciarang.com>2009-07-19 08:05:53 +0100
commit1139f7cad59aa562eb1a7f7691c00392206e73fd (patch)
treeb97dacb336af0638e8b1583af283269d5645a4c7 /lib/groupsbypostssection.php
parentc74943e5985c7a096db3c1fc8f34a6e97c8c1efa (diff)
parent788dd66dbe75db5d09c0cd5b33bb3347233cbd15 (diff)
Merge commit 'br3nda/0.8.x-pgfixes' into 0.8.x
Diffstat (limited to 'lib/groupsbypostssection.php')
-rw-r--r--lib/groupsbypostssection.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/groupsbypostssection.php b/lib/groupsbypostssection.php
index 325b4033f..dc7925d5e 100644
--- a/lib/groupsbypostssection.php
+++ b/lib/groupsbypostssection.php
@@ -48,7 +48,7 @@ class GroupsByPostsSection extends GroupSection
$qry = 'SELECT user_group.*, count(*) as value ' .
'FROM user_group JOIN group_inbox '.
'ON user_group.id = group_inbox.group_id ' .
- 'GROUP BY user_group.id,user_group.nickname,user_group.fullname,user_group.homepage,user_group.description,user_group.location,user_group.original_logo,user_group.homepage_logo,user_group.stream_logo,user_group.mini_logo,user_group.created,user_group.modified ' .
+ 'GROUP BY user_group.id,user_group.nickname,user_group.fullname,user_group.homepage,user_group.description,user_group.location,user_group.original_logo,user_group.homepage_logo,user_group.stream_logo,user_group.mini_logo,user_group.created,user_group.modified,user_group.design_id ' .
'ORDER BY value DESC ';
$limit = GROUPS_PER_SECTION;