Author: arunpatidar
Date: Sat Sep 19 06:28:20 2015
New Revision: 1703945
URL:
http://svn.apache.org/viewvc?rev=1703945&view=revLog:
[OFBIZ-6460] Fixed the exception due to incorrect use of EntityQuery method. Fixed the Query statement.
Modified:
ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/store/EditProductStoreSurveys.groovy
Modified: ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/store/EditProductStoreSurveys.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/store/EditProductStoreSurveys.groovy?rev=1703945&r1=1703944&r2=1703945&view=diff==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/store/EditProductStoreSurveys.groovy (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/store/EditProductStoreSurveys.groovy Sat Sep 19 06:28:20 2015
@@ -32,9 +32,9 @@ if (productStoreId) {
context.productStoreSurveys = from("ProductStoreSurveyAppl").where("productStoreId", productStoreId).filterByDate().queryList();
-context.surveys = from("Survey").orderBy("description").queryOne();
+context.surveys = from("Survey").orderBy("description").queryList();
-context.surveyApplTypes = from("SurveyApplType").orderBy("description").queryFirst();
+context.surveyApplTypes = from("SurveyApplType").orderBy("description").queryList();
context.productCategories = from("ProductCategory").orderBy("description").queryList();