Skip to content

Commit

Permalink
datastore: fix order option in the facet query parser, #TASK-7260, #T…
Browse files Browse the repository at this point in the history
…ASK-5610
  • Loading branch information
jtarraga committed Jan 14, 2025
1 parent 3a6e5a9 commit 6f74a1f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ private void setTermSkip(QueryOptions options, Map<String, Object> map) {
private void setTermOrder(QueryOptions options, Map<String, Object> map) throws Exception {
if (options.containsKey(QueryOptions.ORDER)) {
String order = options.getString(QueryOptions.ORDER);
switch (order.toUpperCase(Locale.ROOT)) {
switch (order.toLowerCase(Locale.ROOT)) {
case ASC:
case ASCENDING: {
map.put("sort", "count asc");
Expand Down

0 comments on commit 6f74a1f

Please sign in to comment.