Author: adrianc
Date: Thu Jan 12 17:13:16 2012
New Revision: 1230645
URL:
http://svn.apache.org/viewvc?rev=1230645&view=revLog:
Remove duplicate work efforts in the getICalWorkEfforts service result.
Modified:
ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml
Modified: ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml?rev=1230645&r1=1230644&r2=1230645&view=diff==============================================================================
--- ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml (original)
+++ ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml Thu Jan 12 17:13:16 2012
@@ -1684,6 +1684,7 @@ under the License.
<field-map field-name="workEffortIdFrom" from-field="workEffortId"/>
</entity-and>
<list-to-list list="resultList" to-list="workEfforts"/>
+ <set field="workEfforts" from-field="groovy:org.ofbiz.workeffort.workeffort.WorkEffortWorker.removeDuplicateWorkEfforts(workEfforts);" type="List"/>
<field-to-result field="workEfforts"/>
</simple-method>