Author: ashish
Date: Sat Dec 20 12:28:28 2014
New Revision: 1646967
URL: http://svn.apache.org/r1646967
Log:
One minor fix.
Modified:
ofbiz/trunk/applications/humanres/webapp/humanres/WEB-INF/actions/category/CategoryTree.groovy
Modified:
ofbiz/trunk/applications/humanres/webapp/humanres/WEB-INF/actions/category/CategoryTree.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/webapp/humanres/WEB-INF/actions/category/CategoryTree.groovy?rev=1646967&r1=1646966&r2=1646967&view=diff
==============================================================================
---
ofbiz/trunk/applications/humanres/webapp/humanres/WEB-INF/actions/category/CategoryTree.groovy
(original)
+++
ofbiz/trunk/applications/humanres/webapp/humanres/WEB-INF/actions/category/CategoryTree.groovy
Sat Dec 20 12:28:28 2014
@@ -51,7 +51,7 @@ if (partyRelationships) {
//child
for(partyRelationship in partyRelationships) {
- partyGroup = from("PartyGroup").where("partyId",
partyRelationship.getString("partyIdTo"))
+ partyGroup = from("PartyGroup").where("partyId",
partyRelationship.getString("partyIdTo")).queryOne();
partyGroupMap = FastMap.newInstance();
partyGroupMap.put("partyId", partyGroup.getString("partyId"));
partyGroupMap.put("groupName", partyGroup.getString("groupName"));