kopia lustrzana https://github.com/jointakahe/takahe
fix order of next/prev header links (#564)
rodzic
ac54c7ff81
commit
7331591432
|
@ -76,8 +76,8 @@ class PaginatingApiResponse(ApiResponse[list[TI]]):
|
||||||
parts = [
|
parts = [
|
||||||
entry
|
entry
|
||||||
for entry in [
|
for entry in [
|
||||||
self.get_part(0, "min_id", "prev"),
|
|
||||||
self.get_part(-1, "max_id", "next"),
|
self.get_part(-1, "max_id", "next"),
|
||||||
|
self.get_part(0, "min_id", "prev"),
|
||||||
]
|
]
|
||||||
if entry
|
if entry
|
||||||
]
|
]
|
||||||
|
|
Ładowanie…
Reference in New Issue