|
|
@@ -81,7 +81,9 @@ public class RestTempSearchServiceImpl implements RestTempSearchService {
|
|
|
map.put("page", pageParams.getPage());
|
|
|
map.put("size", pageParams.getSize());
|
|
|
map.put("keyword", keyword);
|
|
|
- map.put("sort", JSON.toJSONString(pageParams.getFilters().get("sort")));
|
|
|
+ Object object = pageParams.getFilters().get("sort");
|
|
|
+ map.put("sort", object == null ? "" : JSON.toJSONString(object));
|
|
|
+ pageParams.getFilters().remove("sort");
|
|
|
boolean notEqual = true;
|
|
|
String nullString = "null";
|
|
|
if (null == pageParams.getNotEqualFilters() || pageParams.getNotEqualFilters().containsKey(nullString)) {
|