mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 05:53:03 +03:00
Fixed Query Distinct
This commit is contained in:
@@ -203,7 +203,7 @@ public sealed class BaseItemRepository(
|
||||
IQueryable<BaseItemEntity> dbQuery = PrepareItemQuery(context, filter);
|
||||
|
||||
dbQuery = TranslateQuery(dbQuery, context, filter);
|
||||
dbQuery = dbQuery.Distinct();
|
||||
// dbQuery = dbQuery.Distinct();
|
||||
if (filter.EnableTotalRecordCount)
|
||||
{
|
||||
result.TotalRecordCount = dbQuery.Count();
|
||||
|
||||
Reference in New Issue
Block a user