silverstripe / silverstripe-linkfield

Silverstripe module for managing links
BSD 3-Clause "New" or "Revised" License
4 stars 13 forks source link

New Link get a Sort of 1 #258

Closed maxime-rainville closed 3 months ago

maxime-rainville commented 3 months ago

I suspect that part of the problem is that new Link, seem to default to having a Sort of 1.

Repo steps

Expected results: New link is at the end of the list. Actual results: New link is in the second spot.

If you look at the DB, you'll find that the new link has a Sort of 1. It's showing up in the second spot because one other link will have a Sort of 1.

linkfield-2024-03-18_17.07.39.webm

Acceptance criteria

Related card

https://github.com/silverstripe/silverstripe-linkfield/issues/254

PR

GuySartorelli commented 3 months ago

PR merged