mirror of
https://github.com/Biarity/Sieve.git
synced 2025-01-19 00:22:48 +01:00
reverting fix (#142)
* Revert to _mapper assignment in constructor. * reverting fix
This commit is contained in:
parent
cc9c2b0a9a
commit
7a48ba8d61
@ -399,7 +399,7 @@ namespace Sieve.Services
|
||||
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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user