Skip to content
Advertisement

Tag: doctrine-extensions

Doctrine Extensions Sortable not working correctly when changing position by more than 1

Im using Symfony 3.1 + Doctrine GEDMO extensions (via StofDoctrineExtensionsBundle). I’ve set my entity to have Sortable behavior: When i proceed to change position by one the sorting behavior is acting OK: But when I’ve implemented JS drag&drop to change positions the whole thing gets weird. For example, having this table: when I do for row with id 6 this:

Advertisement