Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Link get a Sort of 1 #258

Closed
maxime-rainville opened this issue Mar 19, 2024 · 1 comment
Closed

New Link get a Sort of 1 #258

maxime-rainville opened this issue Mar 19, 2024 · 1 comment
Assignees

Comments

@maxime-rainville
Copy link

maxime-rainville commented Mar 19, 2024

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

Repo steps

  • Start with a list of 4 links.
  • Sort them around so they all have an order set to them.
  • Publish your changes
  • Create a brand new link.
  • New link is added at the end of the list
  • Refresh the page

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

  • Newly created links in a Link List are added to the end of the list and have the matching sort value assigned to them.

Related card

#254

PR

@GuySartorelli
Copy link
Member

PR merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants