Skip to:
Content

BuddyPress.org

Opened 14 years ago

Closed 13 years ago

#147 closed enhancement (fixed)

profile field order

Reported by: ccromp's profile ccromp Owned by:
Milestone: 1.1 Priority: minor
Severity: Version:
Component: Keywords:
Cc:

Description

Re-ordering the profile fields by dragging and dropping in the admin menu doesn't stick.

I ended up manually editing the field_order value for the fields in the wp_bp_xprofile_fields table, and then discovered that this value isn't even used.

It turns out that the order is hard-coded to just be the ID of the field... so they will always display in the order entered.

So I edited line 87 of bp-xprofile-classes.php to change the order by statement to "ORDER BY field_order asc, id asc". This fixed the admin area field order.

I also changed line 899 of the same file so the order by statement now reads "ORDER BY f.field_order asc, f.id". This fixed the signup form.

Change History (6)

#1 @apeatling
13 years ago

  • Priority changed from major to minor

#2 @apeatling
13 years ago

  • Type changed from defect to enhancement

Not implemented, moving to future enhancement.

#3 @apeatling
13 years ago

  • Milestone set to Extended Profiles 1.1

#4 @(none)
13 years ago

  • Milestone Extended Profiles 1.1 deleted

Milestone Extended Profiles 1.1 deleted

#5 @DJPaul
13 years ago

  • Milestone set to 1.1

This is meant to be coming in v1.1/trunk: http://buddypress.org/about/roadmap

#6 @apeatling
13 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Fixed.

Note: See TracTickets for help on using tickets.