seerr/server/entity
fallenbagel 6b8c0bd8f3
fix(mediarequests): properly sort season numbers in media requests (#1688)
Added an @AfterLoad() hook in MediaRequest to ensure seasons are always ordered by their ID.
Previously, joinedseasons could appear in arbitrary database order, leading to jumbled UI displays.
With this change,the seasons list is automatically re-sorted in ascending ID order as soon as
TypeORM hydrates theentity.

fix #1336
2025-05-31 11:23:15 +02:00
..
Blacklist.ts fix(entity): use TIMESTAMPTZ in Postgres and sort issue comments oldest-first (#1654) 2025-05-10 03:38:22 +08:00
DiscoverSlider.ts fix(entity): use TIMESTAMPTZ in Postgres and sort issue comments oldest-first (#1654) 2025-05-10 03:38:22 +08:00
Issue.ts fix(entity): use TIMESTAMPTZ in Postgres and sort issue comments oldest-first (#1654) 2025-05-10 03:38:22 +08:00
IssueComment.ts fix(entity): use TIMESTAMPTZ in Postgres and sort issue comments oldest-first (#1654) 2025-05-10 03:38:22 +08:00
Media.ts fix(entity): use TIMESTAMPTZ in Postgres and sort issue comments oldest-first (#1654) 2025-05-10 03:38:22 +08:00
MediaRequest.ts fix(mediarequests): properly sort season numbers in media requests (#1688) 2025-05-31 11:23:15 +02:00
OverrideRule.ts fix(entity): use TIMESTAMPTZ in Postgres and sort issue comments oldest-first (#1654) 2025-05-10 03:38:22 +08:00
Season.ts fix(entity): use TIMESTAMPTZ in Postgres and sort issue comments oldest-first (#1654) 2025-05-10 03:38:22 +08:00
SeasonRequest.ts fix(entity): use TIMESTAMPTZ in Postgres and sort issue comments oldest-first (#1654) 2025-05-10 03:38:22 +08:00
Session.ts style: fix organize-imports to work with tailwindcss prettier plugin (#2957) [skip ci] 2022-08-21 10:40:12 +00:00
User.ts fix(entity): use TIMESTAMPTZ in Postgres and sort issue comments oldest-first (#1654) 2025-05-10 03:38:22 +08:00
UserPushSubscription.ts fix(entity): use TIMESTAMPTZ in Postgres and sort issue comments oldest-first (#1654) 2025-05-10 03:38:22 +08:00
UserSettings.ts feat(notifications): added telegram thread id's (#1145) 2024-12-21 14:54:55 +08:00
Watchlist.ts fix(entity): use TIMESTAMPTZ in Postgres and sort issue comments oldest-first (#1654) 2025-05-10 03:38:22 +08:00