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

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sat Dec 18 00:15:12 UTC 2010


#2640: BP_XProfile_Group::get() is restrictive
-----------------------+-----------------
  Reporter:  r-a-y     |      Owner:
      Type:  defect    |     Status:  new
  Priority:  normal    |  Milestone:  1.3
 Component:  XProfile  |    Version:
Resolution:            |   Keywords:
-----------------------+-----------------
Changes (by DJPaul):

 * keywords:  has-patch =>


Comment:

 Fields such as select boxes, or radio field groups, have each option as an
 individual item in the database and link to their containing element by
 the parent_id option. The user profile associates with these containers,
 not the option records, and so the SQL is hardcoded to parent_id = 0 so
 that the option records aren't retrieved.

 What exactly were you using the parent_id column for?

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


More information about the buddypress-trac mailing list