|
@@ -168,7 +168,7 @@ public class QueryParamEntity extends QueryParam {
|
|
*/
|
|
*/
|
|
public void setOrderBy(String orderBy) {
|
|
public void setOrderBy(String orderBy) {
|
|
this.orderBy = orderBy;
|
|
this.orderBy = orderBy;
|
|
- if (StringUtils.isEmpty(where)) {
|
|
|
|
|
|
+ if (StringUtils.isEmpty(orderBy)) {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
setSorts(TermExpressionParser.parseOrder(orderBy));
|
|
setSorts(TermExpressionParser.parseOrder(orderBy));
|