Author: mor
Date: Thu May 21 13:33:29 2009
New Revision: 777114
URL:
http://svn.apache.org/viewvc?rev=777114&view=revLog:
Misc. fix for attributes name, reported by Arpit Pandya
Modified:
ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy
Modified: ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy?rev=777114&r1=777113&r2=777114&view=diff==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy Thu May 21 13:33:29 2009
@@ -90,9 +90,9 @@
shipmentMethod = request.getParameter("shipmentMethod");
if (shipmentMethod) {
carrierPartyId = shipmentMethod.substring(0, shipmentMethod.indexOf("@"));
- ShippingMethodTypeId = shipmentMethod.substring(shipmentMethod.indexOf("@")+1);
+ shipmentMethodTypeId = shipmentMethod.substring(shipmentMethod.indexOf("@")+1);
if (carrierPartyId && shipmentMethodTypeId) {
- currentCarrierShipmentMethod = delegator.findByAnd("CarrierShipmentMethod", [carrierPartyId : carrierPartyId, shipmentMethodTypeId : shipmentMethodTypeId]);
+ currentCarrierShipmentMethod = delegator.findByAnd("CarrierShipmentMethod", [partyId : carrierPartyId, shipmentMethodTypeId : shipmentMethodTypeId]);
context.currentCarrierShipmentMethod = currentCarrierShipmentMethod;
}
}