mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Update Jellyfin.Server.Implementations/Item/PeopleRepository.cs
Co-authored-by: JPVenson <ger-delta-07@hotmail.de>
This commit is contained in:
parent
0a4ca33d4f
commit
7f41cc53ca
@ -155,7 +155,7 @@ public class PeopleRepository(IDbContextFactory<JellyfinDbContext> dbProvider, I
|
|||||||
|
|
||||||
if (!string.IsNullOrWhiteSpace(filter.NameContains))
|
if (!string.IsNullOrWhiteSpace(filter.NameContains))
|
||||||
{
|
{
|
||||||
query = query.Where(e => EF.Functions.Like(e.Name, $"%{filter.NameContains}%"));
|
query = query.Where(e => e.Name.ToUpper().Contains(filter.NameContains.ToUpper()));
|
||||||
}
|
}
|
||||||
|
|
||||||
return query;
|
return query;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user