Skip to content

Commit

Permalink
EPMRPP-95988 case insensitive sort (#1061)
Browse files Browse the repository at this point in the history
  • Loading branch information
grabsefx authored Dec 24, 2024
1 parent 426f3fe commit b1599ca
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,9 +257,9 @@ public QueryBuilder with(Sort sort) {
sortingSelect.add(sorting);
}
query.addOrderBy(
field(criteria.getAggregateCriteria()).sort(order.getDirection().isDescending() ?
SortOrder.DESC :
SortOrder.ASC));
field(criteria.getAggregateCriteria())
.lower()
.sort(order.getDirection().isDescending() ? SortOrder.DESC : SortOrder.ASC));
}));
return this;
}
Expand Down Expand Up @@ -367,4 +367,4 @@ public QueryBuilder addGroupByFields(Collection<? extends GroupField> fields) {

return this;
}
}
}

0 comments on commit b1599ca

Please sign in to comment.