Skip to content

Commit

Permalink
reverting fix (#142)
Browse files Browse the repository at this point in the history
* Revert to _mapper assignment in constructor.

* reverting fix
  • Loading branch information
hasanmanzak authored May 16, 2021
1 parent cc9c2b0 commit 7a48ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sieve/Services/SieveProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ protected virtual SievePropertyMapper MapProperties(SievePropertyMapper mapper)
private (string, PropertyInfo) GetSieveProperty<TEntity>(bool canSortRequired, bool canFilterRequired,
string name)
{
var property = Mapper.FindProperty<TEntity>(canSortRequired, canFilterRequired, name,
var property = _mapper.FindProperty<TEntity>(canSortRequired, canFilterRequired, name,
Options.Value.CaseSensitive);
if (property.Item1 != null)
{
Expand Down

0 comments on commit 7a48ba8

Please sign in to comment.