#29893Moving more than 1 inline record messes up the DB
Description
I have a few staff records, in them I have 1-n departments
I edit one of them and add a new department, before saving I reorganize it to be positioned not at the end of the list of previous departements but in between => OK, WORKING!
When I edit existing staff and reorganize existing departments, NO PROBLEM
When I edit one of my staff, I create at least 2 (!) new departments and reorganize them BEFORE saving, then I get a big mess, actually not totally ! If my staff has in the end M departments, then the M first departments (seems so, ordered by uid) have the staff column (foreign_field) used as sortby column and got a sorting value that seems to start at 2^(count of departments in my table), but only the M first departments are affected
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.