Commit a7314679 authored by 王浩's avatar 王浩

Merge branch 'haow/dev' into 'test'

fix code user list

See merge request !136
parents c1ac5a8e 72cc73d0
...@@ -21,7 +21,7 @@ class UserListView(APIView): ...@@ -21,7 +21,7 @@ class UserListView(APIView):
pictorial_id = request.GET.get('pictorial_id', '') pictorial_id = request.GET.get('pictorial_id', '')
page = int(request.GET.get('page', 1)) page = int(request.GET.get('page', 1))
limit = int(request.GET.get('limit', 10)) limit = int(request.GET.get('limit', 10))
filter = self.handle_filter(request.GET.get('filter', "")) filter = self.handle_filter(request.GET.get('filter', '{}'))
if pictorial_id: if pictorial_id:
filter.update({'pictorial_id': pictorial_id}) filter.update({'pictorial_id': pictorial_id})
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