Skip to content

Commit 1044c91

Browse files
committed
fix(#172): get filter value should ignore case
1 parent 088f283 commit 1044c91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JsonApiDotNetCore/Services/QueryAccessor.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public bool TryGetValue<T>(string key, out T value)
6363

6464
private string GetFilterValue(string key) => _jsonApiContext.QuerySet
6565
.Filters
66-
.FirstOrDefault(f => f.Key == key)
66+
.FirstOrDefault(f => string.Equals(f.Key, key, StringComparison.OrdinalIgnoreCase))
6767
?.Value;
6868
}
6969
}

0 commit comments

Comments
 (0)