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.
1 parent bc91e94 commit 982604dCopy full SHA for 982604d
apps/knowledge/serializers/paragraph.py
@@ -319,7 +319,7 @@ def get_query_set(self):
319
**{'title__icontains': self.data.get('title')})
320
if 'content' in self.data:
321
query_set = query_set.filter(**{'content__icontains': self.data.get('content')})
322
- query_set.order_by('-create_time', 'id')
+ query_set = query_set.order_by('create_time', 'id')
323
return query_set
324
325
def list(self):
0 commit comments