SortableJS / meteor-sortablejs

Reactive reorderable lists.
http://rubaxa-sortable.meteor.com
20 stars 10 forks source link

order number does not get updated properly #4

Open fakob opened 8 years ago

fakob commented 8 years ago

When I reorder my list in meteor, the order fields are not updated properly. After a couple of times dragging and dropping they all end up at the same number. And there is also an internal server error.

This seems to be related to https://github.com/RubaXa/Sortable/issues/398

I tried to apply the changes mentioned in the other issue. As I am not a meteor genius, I did not know how to apply the changes to the package. Did anyone have the same issue?

before screen shot 2016-02-16 at 18 54 12

after screen shot 2016-02-16 at 18 57 06

server error screen shot 2016-02-16 at 20 38 28

mountainash commented 8 years ago

I found @day found a fix for this. You can find it at: https://github.com/day/RubaXa-Sortable/commit/cc483ada0a930e44cbdbaf85a4eb74f9faabfcca