grouping interceptor tests.

This commit is contained in:
David Lebee
2018-10-23 21:38:28 -05:00
parent 486200ea6c
commit 49029d535f
4 changed files with 50 additions and 5 deletions
+2 -2
View File
@@ -42,8 +42,8 @@ namespace PoweredSoft.DynamicQuery
protected virtual IGroup InterceptGroup<T>(IGroup group)
{
var ret = Interceptors
.Where(t => t is IGroupingInterceptor)
.Cast<IGroupingInterceptor>()
.Where(t => t is IGroupInterceptor)
.Cast<IGroupInterceptor>()
.Aggregate(group, (prev, inter) => inter.InterceptGroup(prev));
return ret;