[ofbiz-framework] branch trunk updated: Fixed: Show WorkEffort names in FindWorkEffort page (OFBIZ-12253)

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

[ofbiz-framework] branch trunk updated: Fixed: Show WorkEffort names in FindWorkEffort page (OFBIZ-12253)

jleroux@apache.org
This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new fe845e6  Fixed: Show WorkEffort names in FindWorkEffort page (OFBIZ-12253)
fe845e6 is described below

commit fe845e642cee227cbd897c1f68a10d54cc08d18d
Author: Jacques Le Roux <[hidden email]>
AuthorDate: Sun Jun 6 11:50:53 2021 +0200

    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
---
 applications/workeffort/widget/WorkEffortForms.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/applications/workeffort/widget/WorkEffortForms.xml b/applications/workeffort/widget/WorkEffortForms.xml
index 26efc3e..feae020 100644
--- a/applications/workeffort/widget/WorkEffortForms.xml
+++ b/applications/workeffort/widget/WorkEffortForms.xml
@@ -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"/>