svn commit: r1751113 - /ofbiz/branches/release15.12/applications/humanres/widget/forms/PartySkillForms.xml

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

svn commit: r1751113 - /ofbiz/branches/release15.12/applications/humanres/widget/forms/PartySkillForms.xml

ashish-18
Author: ashish
Date: Sun Jul  3 05:35:10 2016
New Revision: 1751113

URL: http://svn.apache.org/viewvc?rev=1751113&view=rev
Log:
Applied patch from trunk r1751112.
===================================
Applied patch from jira issue - OFBIZ-7560 - While adding new skill to any party the old skills are get disappeared from the party skill list.
Thanks Pritam for the contribution. Thanks Montalbano for the discussion.

Modified:
    ofbiz/branches/release15.12/applications/humanres/widget/forms/PartySkillForms.xml

Modified: ofbiz/branches/release15.12/applications/humanres/widget/forms/PartySkillForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release15.12/applications/humanres/widget/forms/PartySkillForms.xml?rev=1751113&r1=1751112&r2=1751113&view=diff
==============================================================================
--- ofbiz/branches/release15.12/applications/humanres/widget/forms/PartySkillForms.xml (original)
+++ ofbiz/branches/release15.12/applications/humanres/widget/forms/PartySkillForms.xml Sun Jul  3 05:35:10 2016
@@ -40,13 +40,10 @@ under the License.
     <form name="ListPartySkills" type="list" list-name="listIt" use-row-submit="true" separate-columns="true" target="updatePartySkillExt" paginate-target="findPartySkills"
         odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
         <actions>
-            <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="PartySkill"/>
-                <field-map field-name="orderBy" value="skillTypeId"/>
-                <field-map field-name="viewIndex" from-field="viewIndex"/>
-                <field-map field-name="viewSize" from-field="viewSize"/>
-            </service>
+            <entity-condition entity-name="PartySkill">
+                <condition-expr field-name="partyId" from-field="partyId"/>
+                <order-by field-name="skillTypeId"/>
+            </entity-condition>
         </actions>
         <auto-fields-service default-field-type="hidden" service-name="updatePartySkill"/>
         <field name="skillTypeId">