Author: lektran
Date: Fri Mar 30 22:16:25 2007
New Revision: 524373
URL:
http://svn.apache.org/viewvc?view=rev&rev=524373Log:
Sort ProductAssocType by description
Modified:
ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/product/EditProductAssoc.bsh
Modified: ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/product/EditProductAssoc.bsh
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/product/EditProductAssoc.bsh?view=diff&rev=524373&r1=524372&r2=524373==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/product/EditProductAssoc.bsh (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/product/EditProductAssoc.bsh Fri Mar 30 22:16:25 2007
@@ -63,7 +63,7 @@
boolean isCreate = true;
context.put("isCreate", isCreate);
-Collection assocTypes = delegator.findAll("ProductAssocType");
+Collection assocTypes = delegator.findAll("ProductAssocType", UtilMisc.toList("description"));
context.put("assocTypes", assocTypes);
if (product != null) {