This commit is contained in:
Zoe Roux 2020-09-12 00:50:01 +02:00
parent ca05817144
commit 8d10b44b1d

View File

@ -23,8 +23,6 @@ namespace Kyoo.CommonApi
public static Expression<Func<T, bool>> ParseWhere<T>(Dictionary<string, string> where,
Expression<Func<T, bool>> defaultWhere = null)
{
return defaultWhere;
if (where == null || where.Count == 0)
return defaultWhere;