Skip to content

Commit 43071ed

Browse files
committed
Fix: filter divided by comma
1 parent 188de7d commit 43071ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/JsonApiDotNetCore/Services/QueryParser.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ protected virtual List<FilterQuery> ParseFilterQuery(string key, string value)
9393
var values = value.Split(QueryConstants.COMMA);
9494
foreach (var val in values)
9595
{
96-
var opVal = ParseFilterOperationAndValue(value);
96+
var opVal = ParseFilterOperationAndValue(val);
9797
queries.Add(new FilterQuery(propertyName, opVal.value, opVal.operation));
9898
}
9999
}
@@ -256,7 +256,7 @@ protected virtual List<string> ParseFieldsQuery(string key, string value)
256256
return includedFields;
257257
}
258258

259-
[Obsolete("Delete also when " + nameof(ParseFilterOperation) + " deleted." )]
259+
[Obsolete("Delete also when " + nameof(ParseFilterOperation) + " deleted.")]
260260
private string GetFilterOperationOld(string value)
261261
{
262262
var values = value.Split(QueryConstants.COLON);

0 commit comments

Comments
 (0)