aboutsummaryrefslogtreecommitdiff
path: root/patchwork/api/patch.py
diff options
context:
space:
mode:
Diffstat (limited to 'patchwork/api/patch.py')
-rw-r--r--patchwork/api/patch.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/patchwork/api/patch.py b/patchwork/api/patch.py
index 1f0ead1..cb829c7 100644
--- a/patchwork/api/patch.py
+++ b/patchwork/api/patch.py
@@ -148,6 +148,7 @@ class PatchList(ListAPIView):
search_fields = ('name',)
ordering_fields = ('id', 'name', 'project', 'date', 'state', 'archived',
'submitter', 'check')
+ ordering = 'id'
def get_queryset(self):
# TODO(stephenfin): Does the defer here cause issues with Django 1.6