|
|
@@ -335,6 +335,7 @@ public class ProductController {
|
|
|
pageParams.getFilters().put("pr_issale", Constant.YES);
|
|
|
List<Sort> sortList = new ArrayList<>();
|
|
|
sortList.add(new Sort("pr_id", false, Type.LONG, new Long(1)));
|
|
|
+ sortList.add(new Sort("pr_matchsize", true, Type.LONG, new Long(1)));
|
|
|
pageParams.getFilters().put(SearchConstants.SORT_KEY, sortList);
|
|
|
return searchService.searchProductsCheckIds(keyword, pageParams);
|
|
|
}
|
|
|
@@ -351,6 +352,7 @@ public class ProductController {
|
|
|
pageParams.getFilters().put("pr_ispurchase", Constant.YES);
|
|
|
List<Sort> sortList = new ArrayList<>();
|
|
|
sortList.add(new Sort("pr_id", false, Type.LONG, new Long(1)));
|
|
|
+ sortList.add(new Sort("pr_matchsize", true, Type.LONG, new Long(1)));
|
|
|
pageParams.getFilters().put(SearchConstants.SORT_KEY, sortList);
|
|
|
return searchService.searchProductsCheckIds(keyword, pageParams);
|
|
|
}
|