[PR #14909] [MERGED] Fix parental ratings #14167

Closed
opened 2026-02-07 07:25:31 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/14909
Author: @theguymadmax
Created: 9/30/2025
Status: Merged
Merged: 10/2/2025
Merged by: @crobibero

Base: masterHead: fix-parental-ratings


📝 Commits (1)

  • dc670c4 Fix parental ratings logic

📊 Changes

1 file changed (+14 additions, -10 deletions)

View changed files

📝 Jellyfin.Server.Implementations/Item/BaseItemRepository.cs (+14 -10)

📄 Description

Changes

  • Changed min/max parental rating filters from >=/<= to >/< for score comparison
  • Added subscore as a tie-breaker when main scores are equal
  • Used InheritedParentalRatingSubValue field to properly compare subscores

Issues

Fixes filtering issues. For example, filtering by a parental rating of "R" only displayed "PG" items. Tested with various ratings and filtering now works correctly.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/14909 **Author:** [@theguymadmax](https://github.com/theguymadmax) **Created:** 9/30/2025 **Status:** ✅ Merged **Merged:** 10/2/2025 **Merged by:** [@crobibero](https://github.com/crobibero) **Base:** `master` ← **Head:** `fix-parental-ratings` --- ### 📝 Commits (1) - [`dc670c4`](https://github.com/jellyfin/jellyfin/commit/dc670c42d5b2b024b46e1c6bfda5a9616a74ebd6) Fix parental ratings logic ### 📊 Changes **1 file changed** (+14 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `Jellyfin.Server.Implementations/Item/BaseItemRepository.cs` (+14 -10) </details> ### 📄 Description <!-- Ensure your title is short, descriptive, and in the imperative mood (Fix X, Change Y, instead of Fixed X, Changed Y). For a good inspiration of what to write in commit messages and PRs please review https://chris.beams.io/posts/git-commit/ and our documentation. --> **Changes** <!-- Describe your changes here in 1-5 sentences. --> - Changed min/max parental rating filters from `>=`/`<=` to `>`/`<` for score comparison - Added subscore as a tie-breaker when main scores are equal - Used `InheritedParentalRatingSubValue` field to properly compare subscores **Issues** <!-- Tag any issues that this PR solves here. ex. Fixes # -->Fixes filtering issues. For example, filtering by a parental rating of "R" only displayed "PG" items. Tested with various ratings and filtering now works correctly. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 07:25:31 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#14167