Skip to content

Commit 3fa4000

Browse files
committed
fix #524 OrderDescending(...) implemented as Ascending
1 parent 5bd94ca commit 3fa4000

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/Nest/DSL/Aggregations/TermsAggregationDescriptor.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public TermsAggregationDescriptor<T> OrderAscending(string key)
8989

9090
public TermsAggregationDescriptor<T> OrderDescending(string key)
9191
{
92-
this._Order = new Dictionary<string, string> { {key, "asc"}};
92+
this._Order = new Dictionary<string, string> { {key, "desc"}};
9393
return this;
9494
}
9595

0 commit comments

Comments
 (0)