We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e7da934 + 6195cd7 commit 4aa4a99Copy full SHA for 4aa4a99
adminsortable/utils.py
@@ -1,4 +1,4 @@
1
def get_is_sortable(objects):
2
- if len(objects) > 1:
+ if objects.count() > 1:
3
return True
4
return False
0 commit comments