Commit f95c40e0 authored by yangchenglin's avatar yangchenglin

fix sort_params

parent 52a91c4b
......@@ -7,7 +7,7 @@ class TopicHomeRecommendList(APIView):
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)
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