From 852c72e59cb8720973a95ae9a6ac21c6db20ae5e Mon Sep 17 00:00:00 2001 From: Harris Lapiroff Date: Mon, 18 Apr 2011 15:58:46 -0400 Subject: [PATCH] Added sortable_field_name to the collection member inline for grappelli. --- admin/collections.py | 1 + 1 file changed, 1 insertion(+) diff --git a/admin/collections.py b/admin/collections.py index dfc4826..d422b74 100644 --- a/admin/collections.py +++ b/admin/collections.py @@ -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): -- 2.20.1