mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-31 14:33:54 -04:00
Fixed Query Distinct
This commit is contained in:
parent
0ff1ee951d
commit
92eb983c61
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user