[buddypress-trac] [BuddyPress Trac] #5584: Pagination is removed when all groups are empty

buddypress-trac noreply at wordpress.org
Thu Dec 11 19:56:12 UTC 2014


#5584: Pagination is removed when all groups are empty
--------------------------+------------------
 Reporter:  dansearle     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  2.2
Component:  Groups        |     Version:  2.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------
Changes (by Mamaduka):

 * keywords:  needs-patch needs-unit-tests => has-patch


Comment:

 Patch fixes the issue [attachment:5584.diff].

 Removes joins for `$bp->groups->table_name_members`  and
 `$bp->groups->table_name_groupmeta` tables from first select. Unlike
 global groups query those joins aren't needed here, since we are not
 sorting based on last activity.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5584#comment:8>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list