#363 m3u sorting.
This commit is contained in:
parent
e001fc2ce7
commit
5fd21137e5
@ -41,7 +41,7 @@ class M3uService {
|
||||
|
||||
|
||||
channels.sort((a, b) => {
|
||||
return a.number < b.number ? -1 : 1
|
||||
return parseInt(a.number) < parseInt(b.number) ? -1 : 1
|
||||
});
|
||||
|
||||
const tvg = `{{host}}/api/xmltv.xml`;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user