[buddypress-trac] [BuddyPress] #3233: Cutdown the queries for Xprofile select/Multiselect field

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sat May 21 08:44:15 UTC 2011


#3233: Cutdown the queries for Xprofile select/Multiselect field
-------------------------+-----------------------------
 Reporter:  sbrajesh     |      Owner:  sbrajesh
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  XProfile     |    Version:  1.3
 Keywords:  has-patch    |
-------------------------+-----------------------------
 Hi,
 Currently when we use select/multiselect field, buddypress makes one query
 per list item on the edit-profile/registration page.
 It means, if we have 100 list items in the select field, it will do 100
 queries.

 here is a patch to fix it. With this patch, the no. of queries will not
 depend on the number of items in the list.

 I have tested it on my current trunk version, please have a look.

-- 
Ticket URL: <https://trac.buddypress.org/ticket/3233>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list