Backport pull request #18093 from jellyfin/release-12.z

Stop rebuilding the inherited-tag set per row, and count only the people /Persons can return

Original-merge: 63b5a050a9

Merged-by: crobibero <cody@robibe.ro>

Backported-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
Shadowghost authored and Cody Robibero committed 2026-10-05 19:18:43 -04:00
1 parent 6c753e8d71
commit 3d52637ce3
7 files changed
+299 -4

No files matched your search

@@ -3657,6 +3657,11 @@ namespace Emby.Server.Implementations.Library
public QueryResult<BaseItem> GetPeopleItems(InternalPeopleQuery query)
{
ArgumentNullException.ThrowIfNull(query);
// This hands back by-name items, so the people without one are not ours to report.
query.MustHaveItem = true;
var queryResult = _peopleRepository.GetPeople(query);
var baseItems = queryResult.Items.Select(i =>
{