aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller
diff options
context:
space:
mode:
authorShadowghost <Shadowghost@users.noreply.github.com>2026-10-05 19:18:43 -0400
committerCody Robibero <cody@robibe.ro>2026-10-05 19:18:43 -0400
commit3d52637ce320aaa592008f4a05cfc3613e0d36fe (patch)
tree1021119e0fc182ae51a91529b27ea1f3801db18a /MediaBrowser.Controller
parent6c753e8d71c21d20c7967a5583f139171c94c845 (diff)
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: 63b5a050a9dc943854bae01856f30f1a5a089245 Merged-by: crobibero <cody@robibe.ro> Backported-by: Cody Robibero <cody@robibe.ro>
Diffstat (limited to 'MediaBrowser.Controller')
-rw-r--r--MediaBrowser.Controller/Entities/InternalPeopleQuery.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Entities/InternalPeopleQuery.cs b/MediaBrowser.Controller/Entities/InternalPeopleQuery.cs
index 8d2a959f4d..50f749367f 100644
--- a/MediaBrowser.Controller/Entities/InternalPeopleQuery.cs
+++ b/MediaBrowser.Controller/Entities/InternalPeopleQuery.cs
@@ -65,5 +65,12 @@ namespace MediaBrowser.Controller.Entities
/// people must satisfy through at least one of the items they are credited on.
/// </summary>
public InternalItemsQuery AccessFilter { get; set; }
+
+ /// <summary>
+ /// Gets or sets a value indicating whether to keep only people that have a by-name item behind
+ /// them. Set by callers that hand back items rather than credits, so the count they report
+ /// describes the same people they can return.
+ /// </summary>
+ public bool MustHaveItem { get; set; }
}
}