Fixing the expression convertor for imbricked lambdas

This commit is contained in:
Zoe Roux
2020-09-12 00:49:28 +02:00
parent fb14eb4ef2
commit 75c9d703f7
2 changed files with 7 additions and 13 deletions
+2
View File
@@ -23,6 +23,8 @@ 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;