Commit c715c745 authored by 王浩's avatar 王浩

Merge branch 'haow/dev' into 'test'

fix

See merge request !139
parents 78c4e2db 687e75ed
......@@ -13,7 +13,7 @@ class TopicListView(APIView):
pictorial_id = request.GET.get('pictorial_id', '')
user_id = request.GET.get('user_id', '')
page = int(request.GET.get('page', 1))
limit = int(request.GET.get('limit', 10))
limit = int(request.GET.get('size', 10))
filters = json.loads(request.GET.get('filter', "{}"))
sorts_by = list(map(lambda i: int(i), request.GET.getlist('sort_params[]', [3])))
if user_id:
......
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