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, public static Expression<Func<T, bool>> ParseWhere<T>(Dictionary<string, string> where,
Expression<Func<T, bool>> defaultWhere = null) Expression<Func<T, bool>> defaultWhere = null)
{ {
return defaultWhere;
if (where == null || where.Count == 0) if (where == null || where.Count == 0)
return defaultWhere; return defaultWhere;