Author: nmalin
Date: Tue Jun 28 11:25:23 2016
New Revision: 1750475
URL:
http://svn.apache.org/viewvc?rev=1750475&view=revLog:
Change the field 'andCondition' (which use direct call to groovy) to 'conditionFields' in the lookup applications/party/widget/partymgr/LookupScreens#LookupCustomerName. Related issue OFBIZ-7656, thanks to Florian Montalbano for this.
Modified:
ofbiz/trunk/applications/party/widget/partymgr/LookupScreens.xml
Modified: ofbiz/trunk/applications/party/widget/partymgr/LookupScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/LookupScreens.xml?rev=1750475&r1=1750474&r2=1750475&view=diff==============================================================================
--- ofbiz/trunk/applications/party/widget/partymgr/LookupScreens.xml (original)
+++ ofbiz/trunk/applications/party/widget/partymgr/LookupScreens.xml Tue Jun 28 11:25:23 2016
@@ -101,7 +101,7 @@ under the License.
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/>
<set field="entityName" value="PartyRoleNameDetail"/>
<set field="searchFields" value="[partyId, firstName, middleName, lastName, groupName]"/>
- <set field="andCondition" value="${groovy: return org.ofbiz.entity.condition.EntityCondition.makeCondition('roleTypeId', 'CUSTOMER')}"/>
+ <set field="conditionFields.roleTypeId" value="CUSTOMER" />
</actions>
<widgets>
<decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">