Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort items by premiere date on the details page #2265

Merged
merged 1 commit into from
Dec 25, 2020

Conversation

heyhippari
Copy link
Contributor

Changes

Currently, the details page sorts items by production year. This can cause weirdness when, for example, two albums are released the same year, in which case they may sort in the wrong order.

This adds PremiereDate as the first sorting field for everything filtered by dates on the details page, with a fallback to ProductionYear, then SortName to keep the current behavior as a fallback in case there is no PremiereDate.

Issues

@sonarcloud
Copy link

sonarcloud bot commented Dec 25, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
2.3% 2.3% Duplication

@thornbill thornbill added the stable backport Backport into the next stable release label Dec 25, 2020
@thornbill thornbill merged commit 58aa865 into jellyfin:master Dec 25, 2020
joshuaboniface pushed a commit that referenced this pull request Dec 31, 2020
Sort items by premiere date on the details page

(cherry picked from commit 58aa865)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
@joshuaboniface joshuaboniface removed the stable backport Backport into the next stable release label Dec 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants