diff options
| author | Cody Robibero <cody@robibe.ro> | 2026-08-07 21:40:58 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-07 21:40:58 -0400 |
| commit | 6bc1c1800454518184fec90b2c7d2d96ca000c55 (patch) | |
| tree | be27fa37568be7620d5383e01ebc6b4d1ac2f6b6 /Jellyfin.Server.Implementations | |
| parent | eee818094e6abf0b089f47ecbf403b3cb304c4b1 (diff) | |
| parent | 4adaf7f146ee895d714ae87af6858101bb10e505 (diff) | |
Merge pull request #17541 from vdatanet/fix/byname-total-record-count
Fix by-name endpoints reporting TotalRecordCount=0 next to a populated Items array
Diffstat (limited to 'Jellyfin.Server.Implementations')
| -rw-r--r-- | Jellyfin.Server.Implementations/Item/BaseItemRepository.ByName.cs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Jellyfin.Server.Implementations/Item/BaseItemRepository.ByName.cs b/Jellyfin.Server.Implementations/Item/BaseItemRepository.ByName.cs index 8e917f6951..5a41619390 100644 --- a/Jellyfin.Server.Implementations/Item/BaseItemRepository.ByName.cs +++ b/Jellyfin.Server.Implementations/Item/BaseItemRepository.ByName.cs @@ -144,11 +144,6 @@ public sealed partial class BaseItemRepository { ArgumentNullException.ThrowIfNull(filter); - if (!filter.Limit.HasValue) - { - filter.EnableTotalRecordCount = false; - } - using var context = _dbProvider.CreateDbContext(); var innerQueryFilter = TranslateQuery(context.BaseItems.Where(e => e.Id != EF.Constant(PlaceholderId)), context, new InternalItemsQuery(filter.User) |
