Author: ashish
Date: Wed Sep 30 13:16:32 2009
New Revision: 820260
URL:
http://svn.apache.org/viewvc?rev=820260&view=revLog:
Patch from Vivek Mishra - When we find any party on clicking Other radio button it shows duplicate records.
Vivek was not able to create jira issue since very long so I am committing the patch.
Modified:
ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java
Modified: ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java?rev=820260&r1=820259&r2=820260&view=diff==============================================================================
--- ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java (original)
+++ ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java Wed Sep 30 13:16:32 2009
@@ -1342,9 +1342,9 @@
if (infoString != null && infoString.length() > 0) {
paramList = paramList + "&infoString=" + infoString;
andExprs.add(EntityCondition.makeCondition(EntityFunction.UPPER_FIELD("infoString"), EntityOperator.LIKE, EntityFunction.UPPER("%"+infoString+"%")));
+ fieldsToSelect.add("infoString");
}
- fieldsToSelect.add("infoString");
}
// ----