Skip to content

Fix weird behavior of slug increments

Latest
Compare
Choose a tag to compare
@marktopper marktopper released this 09 Dec 17:33

Let's say we had two rows for a name mark, which then slugs was mark and mark-1.

Then when creating a new slug for a user with the name mark-1, then the slug should be mark-1-1, since it is the first of mark-1, but mark-1 is already taken.

But before it would set the new slug to be mark-3, which makes no sense.