Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
interfect
funkwhale
Commits
314587e2
Verified
Commit
314587e2
authored
Apr 07, 2018
by
Eliot Berriot
Browse files
Fixed pagination issue
parent
514e48d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
api/funkwhale_api/federation/serializers.py
View file @
314587e2
...
...
@@ -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
())
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment