mirror of
https://github.com/friendica/friendica
synced 2024-12-23 03:20:15 +00:00
Fix paging on List and Public timelines honoring order type
This commit is contained in:
parent
e969ecd351
commit
7f4f44a3a8
2 changed files with 2 additions and 2 deletions
|
@ -104,7 +104,7 @@ class ListTimeline extends BaseApi
|
|||
$statuses = array_reverse($statuses);
|
||||
}
|
||||
|
||||
self::setLinkHeader();
|
||||
self::setLinkHeader($request['friendica_order'] != TimelineOrderByTypes::ID);
|
||||
System::jsonExit($statuses);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -101,7 +101,7 @@ class PublicTimeline extends BaseApi
|
|||
$statuses = array_reverse($statuses);
|
||||
}
|
||||
|
||||
self::setLinkHeader();
|
||||
self::setLinkHeader($request['friendica_order'] != TimelineOrderByTypes::ID);
|
||||
System::jsonExit($statuses);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue