1
0
Fork 0

Fix paging on List and Public timelines honoring order type

This commit is contained in:
Hank Grabowski 2023-03-17 22:13:43 -04:00
parent e969ecd351
commit 7f4f44a3a8
2 changed files with 2 additions and 2 deletions

View file

@ -104,7 +104,7 @@ class ListTimeline extends BaseApi
$statuses = array_reverse($statuses);
}
self::setLinkHeader();
self::setLinkHeader($request['friendica_order'] != TimelineOrderByTypes::ID);
System::jsonExit($statuses);
}
}

View file

@ -101,7 +101,7 @@ class PublicTimeline extends BaseApi
$statuses = array_reverse($statuses);
}
self::setLinkHeader();
self::setLinkHeader($request['friendica_order'] != TimelineOrderByTypes::ID);
System::jsonExit($statuses);
}
}