fix devices per page
This commit is contained in:
parent
c79cfd05fa
commit
b405f715e0
|
@ -176,7 +176,7 @@ class DeviceView(View):
|
||||||
"""Gets many devices."""
|
"""Gets many devices."""
|
||||||
# Compute query
|
# Compute query
|
||||||
query = self.query(args)
|
query = self.query(args)
|
||||||
devices = query.paginate(page=args['page'], per_page=30) # type: Pagination
|
devices = query.paginate(page=args['page'], per_page=100) # type: Pagination
|
||||||
return things_response(
|
return things_response(
|
||||||
self.schema.dump(devices.items, many=True, nested=1),
|
self.schema.dump(devices.items, many=True, nested=1),
|
||||||
devices.page,
|
devices.page,
|
||||||
|
|
Reference in New Issue