#1064 - Ordering CPFs doesn't bump down current entries

This is a spacer post for a website comment topic. The content this topic relates to: #1064 - Ordering CPFs doesn't bump down current entries
Probably the best solution is, a JavaScript one on the choose-to-edit screen (where we currently support mass-reordering).

On changing an order, starting from the ORIGINAL order of the field just changed, pull everything above it down, UNTIL you get to the new order which is assigned to the field just changed, THEN pull everything equal or above that up.

This should stop there getting awkward gaps.

(One can think of things like up/down arrows or gap-fixing after submitting the form, but people make dozens of CPFs and we have to use pagination, so these would not work well at all.)
Implemented the new function 'change_order' in admin_cns_customprofilefields.php to do the sorting.
0 guests and 0 members have recently viewed this.