Added sortable_field_name to the collection member inline for grappelli.
[philo.git] / admin / collections.py
index dfc4826..d422b74 100644 (file)
@@ -10,6 +10,7 @@ class CollectionMemberInline(admin.TabularInline):
        classes = COLLAPSE_CLASSES
        allow_add = True
        fields = ('member_content_type', 'member_object_id', 'index')
+       sortable_field_name = 'index'
 
 
 class CollectionAdmin(admin.ModelAdmin):