Relation Ordering no longer works

System Information
  • Strapi Version: 3.2.5
  • Operating System: Mac OS Catalina 10.15.7 (19H2
  • Database: MySQL
  • Node Version: 12.19.0
  • NPM Version: 6.14.8
  • Yarn Version: 1.22.4

Hello,

After updating to the last version (and following the migration guide),

I am (and the other people in my company) are facing an issue, when I want to order the relations elements, the order is not saved.

Do you have any solutions ?

There is no error log nor query error apprently.

Thank you in advance,

Thomas

Currently we don’t support reordering relations, see the following troubleshooting article. Any previous implementation was actually not intended, we do eventually plan to look into it but for right now we don’t support it. Troubleshooting - Strapi Developer Documentation

1 Like

Hello @DMehaffy,
just to let you know the solution I went for as the order was mandatory in my case is that I added a step in the beforeUpdate lifecycle of the Model to check and handle the order changed by the user.

Thank you again for your help :slight_smile:

Thomas

1 Like

@TC-42-54
Can you share you solution? That would be great. Thanks

Yes @TC-42-54 if you could please share your solution it will be much appreciated.
I am sure there will be others very interested to see as well.