You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2015/02/24 10:53:00 UTC
svn commit: r1661873 -
/ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml
Author: jleroux
Date: Tue Feb 24 09:52:59 2015
New Revision: 1661873
URL: http://svn.apache.org/r1661873
Log:
A patch from Deepak Dixit for "Pagination at find WorkEffort screen does not work" https://issues.apache.org/jira/browse/OFBIZ-5929
Pagination (previous, next) does not work in find workeffort screen.
Modified:
ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml
Modified: ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml?rev=1661873&r1=1661872&r2=1661873&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml (original)
+++ ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml Tue Feb 24 09:52:59 2015
@@ -396,18 +396,18 @@ under the License.
</sort-order>
</form>
- <form name="ListWorkEfforts" type="list" list-name="workEfforts" paginate-target="ListWorkEfforts"
+ <form name="ListWorkEfforts" type="list" list-name="listIt" paginate-target="ListWorkEfforts"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<actions>
+ <set field="fieldList" value="${groovy:['workEffortId','workEffortTypeId','currentStatusId','workEffortPurposeTypeId','description','priority','lastModifiedDate','estimatedStartDate','estimatedCompletionDate','actualStartDate','actualCompletionDate']}" type="List"/>
<service service-name="performFind" result-map="result" result-map-list="listIt">
<field-map field-name="inputFields" from-field="parameters"/>
<field-map field-name="entityName" value="WorkEffortFindView"/>
+ <field-map field-name="fieldList" from-field="fieldList"/>
<field-map field-name="orderBy" value="lastModifiedDate DESC"/>
<field-map field-name="viewIndex" from-field="viewIndex"/>
- <field-map field-name="viewSize" from-field="viewSize"/>
- </service>
- <service service-name="removeDuplicateWorkEfforts" result-map="result" result-map-list="workEfforts">
- <field-map field-name="workEffortIterator" from-field="listIt"/>
+ <field-map field-name="viewSize" from-field="viewSize"/>
+ <field-map field-name="distinct" value="Y"/>
</service>
</actions>
<field name="workEffortId" title="${uiLabelMap.WorkEffortWorkEffortId}" widget-style="buttontext">