spatie/eloquent-sortable

Is there the functional for increment sorting field value by tens ?

Closed this issue · 3 comments

I need to the values should be series of 10, 20, 30 ... etc

The package works best if you let it take core of the values in the sorting field. If you need those values to be something else than incremental numbers, than it's better to roll your own solution.

I was looking into this today as we need it, maybe I can send PR. Are you willing to accept it if it's BC?

If the code is easy to understand, easily configurable, non-breaking and fully tested I'd considering accepting a PR 😄