id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc 2640,BP_XProfile_Group::get() is restrictive,r-a-y,,"I'm working on a plugin which makes use of the ""parent_id"" parameter in the $bp->profile->table_name_fields table. However, BP_XProfile_Group::get() doesn't return the ""parent_id"" if ""fetch_fields"" is set to true. BP_XProfile_Group::get() also limits fields whose ""parent_id"" is 0, which defeats the purpose of my plugin. There are a few ways to open this up. Option 1: Change line 117 in bp-xprofile-classes.php to: {{{ $fields = $wpdb->get_results( $wpdb->prepare( ""SELECT id, name, description, type, group_id, parent_id, is_required FROM {$bp->profile->table_name_fields} WHERE group_id IN ( {$group_ids} ) ORDER BY field_order"" ) ); }}} Option 2: Filter $fields SQL query, see attached patch. --- Would like to see this in BP 1.2.6, but understand if this should be moved to BP 1.3.",defect (bug),closed,normal,1.5,Extended Profile,,,no action required,,