diff --git a/applications/order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh b/applications/order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh index 1927239182..b3cb71d27a 100644 --- a/applications/order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh +++ b/applications/order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh @@ -145,7 +145,7 @@ if ((typeConditions.size() > 0) && (statusConditions.size() > 0)) { allConditions.add(typeConditionsList); } queryConditionsList = new EntityConditionList(allConditions, EntityOperator.AND); -orderHeaderList = delegator.findByCondition("OrderHeader", queryConditionsList, null, UtilMisc.toList("orderId DESC")); +orderHeaderList = delegator.findByCondition("OrderHeader", queryConditionsList, null, UtilMisc.toList("orderDate DESC")); context.put("orderHeaderList", orderHeaderList); locale = UtilHttp.getLocale(request); diff --git a/applications/order/webapp/ordermgr/order/orderheader.ftl b/applications/order/webapp/ordermgr/order/orderheader.ftl index 19bb102df5..0893b38957 100644 --- a/applications/order/webapp/ordermgr/order/orderheader.ftl +++ b/applications/order/webapp/ordermgr/order/orderheader.ftl @@ -365,7 +365,7 @@ under the License. (${uiLabelMap.OrderReference}: ${gatewayResponse.referenceNum?if_exists} ${uiLabelMap.OrderAvs}: ${gatewayResponse.gatewayAvsResult?default("N/A")} ${uiLabelMap.OrderScore}: ${gatewayResponse.gatewayScoreResult?default("N/A")}) - [${uiLabelMap.CommonDetails}] + ${uiLabelMap.CommonDetails} <#if gatewayResponse_has_next>