Showing
1 changed file
with
2 additions
and
0 deletions
@@ -76,6 +76,8 @@ public class SearchParam { | @@ -76,6 +76,8 @@ public class SearchParam { | ||
76 | } | 76 | } |
77 | if (StringUtils.isNotEmpty(orderVal)) { | 77 | if (StringUtils.isNotEmpty(orderVal)) { |
78 | param.put(SearchConstants.IndexNameConstant.ORDER, orderVal); | 78 | param.put(SearchConstants.IndexNameConstant.ORDER, orderVal); |
79 | + } else { | ||
80 | + param.put(SearchConstants.IndexNameConstant.ORDER, order); | ||
79 | } | 81 | } |
80 | } | 82 | } |
81 | return this; | 83 | return this; |
-
Please register or login to post a comment