Replies: 1 comment
-
|
Same here. I'm sending multple ajax request on a model creation using sortable. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The following code (from
eloquent-sortable/src/SortableTrait.php
Line 21 in 6f72236
...seems to generate the order number, using
maxthen simply adds one to it.But if one fired enough of these in succession, wouldn't it be possible to get the same
max? And hence, on might get an order column with value1,1,1,2,3,4,5?Beta Was this translation helpful? Give feedback.
All reactions