Favorites are ordered by post date #1382

Open
opened 2025-10-15 01:40:55 +00:00 by lamp · 3 comments
Member

Favorites from /api/v1/favourites are ordered by favorite date but then re-ordered by post date in the front-end which may cause trouble when scrolling down.

Favorites from /api/v1/pleroma/accounts/:id/favourites are already ordered by post date.

However, both endpoints should be ordering by favorite date and the frontend should NOT be re-ordering the results.

You want to see the most recently favorited posts on top. (Don't you?)

Favorites from `/api/v1/favourites` are ordered by favorite date but then re-ordered by post date in the front-end which may cause trouble when scrolling down. Favorites from `/api/v1/pleroma/accounts/:id/favourites` are already ordered by post date. However, [both endpoints should be ordering by favorite date](https://git.pleroma.social/pleroma/pleroma/-/issues/3379) and the frontend should NOT be re-ordering the results. You want to see the most recently favorited posts on top. (Don't you?)
Owner

that's weird, i think we fixed that long time ago

that's weird, i think we fixed that long time ago
Author
Member

somehow I completely forgot I'm not on the latest version, I have to update everything and then check

somehow I completely forgot I'm not on the latest version, I have to update everything and then check
Author
Member

I just updated to develop branch commit 30f9b84f0 and favourites are still being re-ordered by post date.

also why is everything bigger now

I just updated to develop branch commit 30f9b84f0 and favourites are still being re-ordered by post date. also why is everything bigger now
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma/pleroma-fe#1382
No description provided.