[buddypress-trac] [BuddyPress] #2640: [patch] BP_XProfile_Group::get() is restrictive

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sun Sep 26 23:05:07 UTC 2010


#2640: [patch] BP_XProfile_Group::get() is restrictive
----------------------+-----------------------------------------------------
 Reporter:  r-a-y     |       Owner:           
     Type:  defect    |      Status:  new      
 Priority:  normal    |   Milestone:  1.3      
Component:  XProfile  |    Keywords:  has-patch
----------------------+-----------------------------------------------------

Comment(by r-a-y):

 I figured the filter wouldn't make it.  No harm in trying!

 I don't think there's any harm in hardcoding the proposed change (option
 #1).  It basically removes the restrictive "AND parent_id = 0" and adds
 the "parent_id" column to the SELECT statement.

 The "parent_id" column currently isn't being used AFAIK in the BP 1.2
 branch or in BP 1.3 trunk, so that was my rationale.

 If you want, I can create a new patch mirroring the other BP component
 fetch routines for the xprofile component.  It's more work for plugins to
 override it, but c'est la vie!

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2640#comment:3>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list