aboutsummaryrefslogtreecommitdiff
path: root/tests/Jellyfin.Server.Implementations.Tests/Item
AgeCommit message (Collapse)Author
2026-08-07Merge pull request #17541 from vdatanet/fix/byname-total-record-countCody Robibero
Fix by-name endpoints reporting TotalRecordCount=0 next to a populated Items array
2026-08-06Move the deletion of old related info to just before the saveMarc Brooks
This makes the deletion of BaseItemProviders, BaseItemImageInfos, and BaseItemMetadataFields happen in batch as a contiguous block so the lock isn't held across items, just before the bulk SaveChanges.
2026-08-05Project the lowered person credit values once when updating peopleShadowghost
2026-08-05Fix by-name endpoints reporting TotalRecordCount=0 next to a populated Items ↵vdatanet
array `GetItemValues` -- the shared path behind `/Artists`, `/AlbumArtists`, `/Genres`, `/MusicGenres` and `/Studios` -- disabled the total record count whenever the query carried no `Limit`: if (!filter.Limit.HasValue) { filter.EnableTotalRecordCount = false; } A request without an explicit limit therefore came back with N entries in `Items` and `TotalRecordCount = 0`. Clients that page on the reported total -- the documented contract every other list endpoint honours -- read that as an empty library. `/Items` and `/Persons` do not share this path and report the count correctly, which is what makes the inconsistency visible from the outside. Measured against master with a 62-track music library: GET /Artists?UserId=... -> TotalRecordCount=0 Items=5 GET /Artists?UserId=...&limit=100 -> TotalRecordCount=5 Items=5 Dropping the block costs nothing: `representativeIds` is materialised into a `List<Guid>` a few lines below regardless, so `.Count` was already available and the count is now reported from it. Callers that genuinely want to skip the count still can -- `EnableTotalRecordCount = false` is honoured as before. The block also mutated the caller's own query object, so a query instance reused across calls silently lost its total after the first limitless one. That is covered by a test as well.
2026-07-16Fix tie-breaker performanceShadowghost
2026-07-02Fix review commentsShadowghost
2026-06-19Surface the played version for resumeShadowghost
2026-06-12Fix performanceShadowghost
2026-06-09Coalesce alternate-version progress onto primary in resume filterShadowghost
2026-06-07Collapse version groups to the primary version in queriesShadowghost
2026-01-05fix: Handle unknown item types gracefully in DeserializeBaseItemZeusCraft10
When querying items with recursive=true, items with types from removed plugins would cause a 500 error. Now these items are skipped with a warning log instead of throwing an exception. Fixes #15945
2025-11-17Backport pull request #15413 from jellyfin/release-10.11.zJPVenson
Fixed missing sort argument Original-merge: 91c3b1617e06283c88f36bc63046b99c993cb774 Merged-by: crobibero <cody@robibe.ro> Backported-by: Bond_009 <bond.009@outlook.com>
2025-03-27Fix merged namespace errorCody Robibero
2025-03-27Fix Sort by Year Bug (#12101) (#13733)Jacob Warren