Commit 7918da23 authored by 杨成林's avatar 杨成林

Merge branch 'ycl/fix' into 'dev'

fix sort_params

See merge request !164
parents 52a91c4b f95c40e0
...@@ -7,7 +7,7 @@ class TopicHomeRecommendList(APIView): ...@@ -7,7 +7,7 @@ class TopicHomeRecommendList(APIView):
def get(self, request): def get(self, request):
sort_ = request.GET.get('sort', '-topic_id') sort_ = request.GET.get('sort_params', '-topic_id')
offset, count = get_offset_count(request) offset, count = get_offset_count(request)
try: try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment