Reviewing merge request #9: Use numerical sort for Seasons
if you have a show with more than 10 seasons, listing the seasons shows something like:
Season 1
Season 10
Season 2
Season 3
...
This happens because seasons are stored as strings, so when comparing in the sort function, "10" is smaller than "2".
The current request changes the sorting function, so in the comparison it takes the seasons as integers. Thus, it shows the seasons correctly
Season 1
Season 2
....
Season 9
Season 10
Commits that would be merged:
Version 1


Add a new comment:
Login or create an account to post a comment