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

Fix: bug when order value is zero #260

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ibaguio
Copy link

@ibaguio ibaguio commented Mar 15, 2023

We don't explicitly disallow zero as a value for the ordering field. This assumption comes from the fact that we allow non-positive integers as values, thus, zero is also allowed.

When the value of the ordering field is zero, the save method creates a new value, which is not the wanted behavior.

ibaguio added 2 commits March 15, 2023 11:52
Bug: when order value is zero, a new order value is generated
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

Successfully merging this pull request may close these issues.

1 participant