Author: hansbak
Date: Wed Jun 3 01:59:43 2009
New Revision: 781239
URL:
http://svn.apache.org/viewvc?rev=781239&view=revLog:
do not show unknown party commevent in regular listing
Modified:
ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml
Modified: ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml?rev=781239&r1=781238&r2=781239&view=diff==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml Wed Jun 3 01:59:43 2009
@@ -405,6 +405,8 @@
<actions>
<set field="parameters.sortField" from-field="parameters.sortField" default-value="${groovy: "true".equals(parameters.all)?"-entryDate":"entryDate"}"/>
<set field="searchParameters.partyId" from-field="partyId"/>
+ <set field="searchParameters.statusId" value="COM_UNKNOWN_PARTY"/>
+ <set field="searchParameters.statusId_op" value="notEqual"/>
<set field="searchParameters.roleStatusId" value="${groovy:"true".equals(parameters.all)?"dummy":"COM_ROLE_COMPLETED"}"/>
<set field="searchParameters.roleStatusId_op" value="notEqual"/>
<set field="searchParameters.communicationEventTypeId" value="${groovy:"true".equals(internalNotesOnly)?"COMMENT_NOTE":""}"/>
@@ -420,7 +422,7 @@
<field name="deleteCommEventIfLast"><hidden value="Y"/></field>
<field name="delContentDataResource"><hidden value="Y"/></field>
<field name="subject" widget-style="buttontext" widget-area-style="fieldWidth300" sort-field="true">
- <hyperlink description="${subject} " target="ViewCommunicationEvent">
+ <hyperlink description="${subject}[${communicationEventId}] " target="ViewCommunicationEvent">
<parameter param-name="communicationEventId"/>
<parameter param-name="partyId"/>
<parameter param-name="roleTypeId"/>