mirror of
https://github.com/friendica/friendica
synced 2025-01-10 22:04:43 +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);
|
$statuses = array_reverse($statuses);
|
||||||
}
|
}
|
||||||
|
|
||||||
self::setLinkHeader();
|
self::setLinkHeader($request['friendica_order'] != TimelineOrderByTypes::ID);
|
||||||
System::jsonExit($statuses);
|
System::jsonExit($statuses);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -101,7 +101,7 @@ class PublicTimeline extends BaseApi
|
||||||
$statuses = array_reverse($statuses);
|
$statuses = array_reverse($statuses);
|
||||||
}
|
}
|
||||||
|
|
||||||
self::setLinkHeader();
|
self::setLinkHeader($request['friendica_order'] != TimelineOrderByTypes::ID);
|
||||||
System::jsonExit($statuses);
|
System::jsonExit($statuses);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue