Verified Commit 314587e2 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Fixed pagination issue

parent 514e48d3
......@@ -273,7 +273,7 @@ class CollectionPageSerializer(serializers.Serializer):
d['prev'] = set_query_parameter(
conf['id'], page=page.previous_page_number())
if page.has_previous():
if page.has_next():
d['next'] = set_query_parameter(
conf['id'], page=page.next_page_number())
Supports Markdown
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