Files
jellyfin-ha-src/Jellyfin.Server.Implementations
Felix Förtsch 145258865a avoid correlated legacy item value filter queries
The legacy filter queries projected ItemValue before grouping tags and genres. EF Core translated that shape into duplicated correlated aggregates, causing multi-minute requests for libraries with many distinct values and blocking unrelated SQLite-backed API calls.

Join ItemValuesMap directly to ItemValues before grouping. This preserves type and item filtering, clean-value grouping, minimum-value selection and ordering while producing one aggregate query. Add an in-memory SQLite regression test for result semantics and both SQL shapes.
2026-09-01 14:37:44 +02:00
..
2025-03-25 15:30:22 +00:00
2026-05-21 20:48:41 +02:00
2026-07-29 09:35:20 +02:00
2026-05-14 07:42:50 +02:00
2026-05-21 20:48:41 +02:00