diff options
| author | Shadowghost <Ghost_of_Stone@web.de> | 2026-01-31 19:19:26 +0100 |
|---|---|---|
| committer | Shadowghost <Ghost_of_Stone@web.de> | 2026-01-31 19:22:04 +0100 |
| commit | 2789532aa88ccc899ff8497537642e1d78b31ef5 (patch) | |
| tree | bc50cc8b536c9487ddaa773f5a411fc2ddd17ac8 /MediaBrowser.Controller/Persistence | |
| parent | 694db80d4c8e83ff381af56d2a3dde29e0855c3d (diff) | |
Optimize Validator and Filter Performance
Diffstat (limited to 'MediaBrowser.Controller/Persistence')
| -rw-r--r-- | MediaBrowser.Controller/Persistence/IItemRepository.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Persistence/IItemRepository.cs b/MediaBrowser.Controller/Persistence/IItemRepository.cs index 504adff86c..a063debbb5 100644 --- a/MediaBrowser.Controller/Persistence/IItemRepository.cs +++ b/MediaBrowser.Controller/Persistence/IItemRepository.cs @@ -219,6 +219,13 @@ public interface IItemRepository IReadOnlyList<Guid> GetManualLinkedParentIds(Guid childId); /// <summary> + /// Gets legacy query filters (Years, Genres, Tags, OfficialRatings) aggregated directly from the database. + /// </summary> + /// <param name="filter">The query filter.</param> + /// <returns>Aggregated filter values.</returns> + QueryFiltersLegacy GetQueryFiltersLegacy(InternalItemsQuery filter); + + /// <summary> /// Updates LinkedChildren references from one child to another, preserving SortOrder. /// Handles duplicates: if parent already references toChildId, removes the old reference instead. /// Used when video versions change to maintain collection integrity. |
