Skip to content

Commit 022aec2

Browse files
committed
Fix wrong assignment of name to Condition.
1 parent c7c56e4 commit 022aec2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FluentNHibernate/Conventions/Instances/ClassInstance.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public void ApplyFilter(string name, string condition)
106106
{
107107
var filterMapping = new FilterMapping();
108108
filterMapping.Set(x => x.Name, Layer.Conventions, name);
109-
filterMapping.Set(x => x.Condition, Layer.Conventions, name);
109+
filterMapping.Set(x => x.Condition, Layer.Conventions, condition);
110110
mapping.AddFilter(filterMapping);
111111
}
112112

0 commit comments

Comments
 (0)