From e521d5c8adcf25d4e86f6f2f7a134229fcdf48c2 Mon Sep 17 00:00:00 2001 From: Brandon Taylor Date: Mon, 3 Nov 2014 10:44:11 -0500 Subject: [PATCH] Added extra check for object when sorting self-referential models. --- .../adminsortable/shared/nested_objects.html | 33 ++++++++++--------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/adminsortable/templates/adminsortable/shared/nested_objects.html b/adminsortable/templates/adminsortable/shared/nested_objects.html index c979302..7b4f36a 100644 --- a/adminsortable/templates/adminsortable/shared/nested_objects.html +++ b/adminsortable/templates/adminsortable/shared/nested_objects.html @@ -3,22 +3,25 @@ {% if regrouped_objects %} {% endif %}