I would like to propose an option that sortable does not sort when SortableGroup-property is null (or maybe also zero). Maybe something like #[Gedmo\SortableGroup(ignoreNull: true)]
Background here is that i have an entity with SortableGroup set on a relation which in many cases is set to null. I dont need this entries sorted, as there ist no related entity.
Maybe this could also a default behavior if sortableGroup is defined on a relation-property, but this would change current behaviour.
I would like to propose an option that sortable does not sort when SortableGroup-property is null (or maybe also zero). Maybe something like #[Gedmo\SortableGroup(ignoreNull: true)]
Background here is that i have an entity with SortableGroup set on a relation which in many cases is set to null. I dont need this entries sorted, as there ist no related entity.
Maybe this could also a default behavior if sortableGroup is defined on a relation-property, but this would change current behaviour.