fix: Ensure catch-up streams are ordered by channelstream order in get_channel_catchup_info

This commit is contained in:
SergeantPanda 2026-06-02 12:16:02 -05:00
parent 09f4ec91f1
commit e154e4e696

View file

@ -24,6 +24,7 @@ def get_channel_catchup_info(channel):
stream = (
channel.streams.filter(is_catchup=True)
.order_by("channelstream__order")
.select_related("m3u_account")
.first()
)