Fixed: Show WorkEffort names in FindWorkEffort page (OFBIZ-12253)

In FindWorkEffort page, "Work Effort Name" can be specified as search
option, but the result table do not show it.

It would be nice if WorkEffort names can be displayed. Actually,
'workEffortName' has already been added to the description of hyperlink
in 'workEffortId' field, but 'workEffortName' is not presented in
'fieldList', so names are failed to be shown.

Thanks: Xin Wang
This commit is contained in:
Jacques Le Roux
2021-06-06 11:52:43 +02:00
parent 3742e034a7
commit 858cd36e90
@@ -403,7 +403,7 @@ under the License.
<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"/>
<set field="fieldList" value="${groovy:['workEffortId','workEffortName','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"/>