svn commit: r655302 - /ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/communication/listCommunications.bsh

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

svn commit: r655302 - /ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/communication/listCommunications.bsh

lektran
Author: lektran
Date: Sun May 11 04:18:51 2008
New Revision: 655302

URL: http://svn.apache.org/viewvc?rev=655302&view=rev
Log:
Removed calls to deprecated findByOr GenericDelegator methods from all bsh files

Modified:
    ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/communication/listCommunications.bsh

Modified: ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/communication/listCommunications.bsh
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/communication/listCommunications.bsh?rev=655302&r1=655301&r2=655302&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/communication/listCommunications.bsh (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/communication/listCommunications.bsh Sun May 11 04:18:51 2008
@@ -39,7 +39,8 @@
 }
 
 eventExprs = UtilMisc.toList(new EntityExpr("partyIdTo", EntityOperator.EQUALS, partyId), new EntityExpr("partyIdFrom", EntityOperator.EQUALS, partyId));
-events = delegator.findByOr("CommunicationEvent", eventExprs, UtilMisc.toList(sortField));
+ecl = new EntityConditionList(eventExprs, EntityOperator.OR);
+events = delegator.findList("CommunicationEvent", ecl, null, UtilMisc.toList(sortField), null, false);
 context.put("eventList", events);
 context.put("eventListSize", events.size());
 context.put("highIndex", events.size());