mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #15666] [MERGED] Fix unnecessary database JOINs in ApplyNavigations #14380
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/15666
Author: @andrewrabert
Created: 11/30/2025
Status: ✅ Merged
Merged: 12/13/2025
Merged by: @crobibero
Base:
release-10.11.z← Head:fix/conditional-applynavigations📝 Commits (1)
2ace116Fix unnecessary database JOINs in ApplyNavigations📊 Changes
1 file changed (+19 additions, -4 deletions)
View changed files
📝
Jellyfin.Server.Implementations/Item/BaseItemRepository.cs(+19 -4)📄 Description
Slight performance opitmization. For example, when navigating to a Movie library via jellyfin-web:
https://localhost/Users/<UserId>/Items?SortBy=DateCreated%2CSortName%2CProductionYear&SortOrder=Descending&IncludeItemTypes=Movie&Recursive=true&Fields=PrimaryImageAspectRatio%2CMediaSourceCount&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CBanner%2CThumb&StartIndex=0&ParentId=<ParentId>&Limit=100I compared the performance of retrieving that URL using curl and two identical servers. This change resulted in a decrease from ~83ms to ~52ms in request duration.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.