django-admin-sortable2 icon indicating copy to clipboard operation
django-admin-sortable2 copied to clipboard

Order within group

Open bbekir opened this issue 3 years ago • 1 comments

In some cases sorting is not on a per-table basis. Especially if ordering field is something like item no, question no

There may be a meta field that shows grouping partition, like as

ordering=('item_no') order_group=('category')

And update on db may be done with adding extra where filter;

where category= :category

Yet, in that case user have to filter data first than drag and drop. Or some movements may be forbidden to prevent conflicts like user can't drag multiple rows within different order_group, etc

bbekir avatar Oct 08 '22 06:10 bbekir

Will do that on my next major release.

jrief avatar Oct 08 '22 14:10 jrief