Skip to content

Commit 7a0adc1

Browse files
authored
Merge pull request #91 from topcoder-platform/issues-615
Issues-615
2 parents 56b411e + 7e1d2f2 commit 7a0adc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/class.groupmodel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ public function getMyGroups($where =[], $orderFields = '', $limit = false, $offs
761761
->select('lcu1.Email', '', 'LastDiscussionCommentsUserEmail')
762762
->from('Group g')
763763
->join('UserGroup ug', 'ug.GroupID=g.GroupID and ug.UserID='.Gdn::session()->UserID)
764-
->join('Category c', 'c.GroupID=g.GroupID and c.DisplayAs ="Categories"')
764+
->join('Category c', 'c.GroupID=g.GroupID and c.UrlCode = g.ChallengeID')
765765
->join('User lcu1', 'c.LastDiscussionCommentsUserID = lcu1.UserID')// Last post/comment inserted/edited by user
766766
->where('g.Archived' , 0 )
767767
->where($where);

0 commit comments

Comments
 (0)