svn commit: r987996 - /ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/CheckInits.groovy

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r987996 - /ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/CheckInits.groovy

ashish-18
Author: ashish
Date: Mon Aug 23 05:04:53 2010
New Revision: 987996

URL: http://svn.apache.org/viewvc?rev=987996&view=rev
Log:
Changing the sorting order(storeName -> productStoreId, storeName) of Product Store. In general for testing purpose we create sales order for an Ecommerce store from the back office ordermgr application, so each time we select the Ecommerce ProductStore first to have all the upcoming steps work without any issues. Now after this change the "OFBiz E-Commerce Store" should come first on OrderEntry screen.

Modified:
    ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/CheckInits.groovy

Modified: ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/CheckInits.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/CheckInits.groovy?rev=987996&r1=987995&r2=987996&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/CheckInits.groovy (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/CheckInits.groovy Mon Aug 23 05:04:53 2010
@@ -42,7 +42,7 @@ context.shoppingCart = shoppingCart;
 salesChannels = delegator.findByAndCache("Enumeration", [enumTypeId : "ORDER_SALES_CHANNEL"], ["sequenceId"]);
 context.salesChannels = salesChannels;
 
-productStores = delegator.findList("ProductStore", null, null, ["storeName"], null, true);
+productStores = delegator.findList("ProductStore", null, null, ["productStoreId", "storeName"], null, true);
 context.productStores = productStores;
 
 suppliers = delegator.findByAnd("PartyRoleAndPartyDetail", [roleTypeId : "SUPPLIER"], ["groupName", "partyId"]);