mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-22 17:41:08 +00:00
Update page formatter on ordered collection
This commit is contained in:
parent
193a36390b
commit
8fd05004ea
1 changed files with 1 additions and 1 deletions
|
@ -602,7 +602,7 @@ def to_ordered_collection_page(
|
|||
if activity_page.has_next():
|
||||
next_page = f"{remote_id}?page={activity_page.next_page_number()}"
|
||||
if activity_page.has_previous():
|
||||
prev_page = f"{remote_id}?page=%d{activity_page.previous_page_number()}"
|
||||
prev_page = f"{remote_id}?page={activity_page.previous_page_number()}"
|
||||
return activitypub.OrderedCollectionPage(
|
||||
id=f"{remote_id}?page={page}",
|
||||
partOf=remote_id,
|
||||
|
|
Loading…
Reference in a new issue