mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-01-23 02:35:14 +00:00
Sort EPG output by channel number.
This commit is contained in:
parent
f58bc81c36
commit
d5f9ba7e5e
1 changed files with 2 additions and 2 deletions
|
|
@ -342,9 +342,9 @@ def generate_epg(request, profile_name=None, user=None):
|
|||
channels = Channel.objects.filter(
|
||||
channelprofilemembership__channel_profile=channel_profile,
|
||||
channelprofilemembership__enabled=True,
|
||||
)
|
||||
).order_by("channel_number")
|
||||
else:
|
||||
channels = Channel.objects.all()
|
||||
channels = Channel.objects.all().order_by("channel_number")
|
||||
|
||||
# Check if the request wants to use direct logo URLs instead of cache
|
||||
use_cached_logos = request.GET.get('cachedlogos', 'true').lower() != 'false'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue