Skip to content

Commit

Permalink
Fix issue with ascending orders
Browse files Browse the repository at this point in the history
  • Loading branch information
Idane committed May 13, 2021
1 parent b49c32f commit 9bc36a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ protected Criteria setOrder(Criteria criteria, BaseModelFilter modelFilter) {
if(order.getDescending()) {
criteria.addOrder(Order.desc(order.getBy()));
} else {
criteria.addOrder(Order.asc(modelFilter.getOrderBy()));
criteria.addOrder(Order.asc(order.getBy()));
}
appliedOrder = true;
}
Expand Down

0 comments on commit 9bc36a4

Please sign in to comment.