Fix paging on List and Public timelines honoring order type
This commit is contained in:
parent
e969ecd351
commit
7f4f44a3a8
|
@ -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 New Issue
Block a user