Author: hansbak
Date: Sat Apr 25 03:33:02 2009
New Revision: 768456
URL:
http://svn.apache.org/viewvc?rev=768456&view=revLog:
Applied fix from trunk for revision: 766627
Modified:
ofbiz/branches/release09.04/applications/party/widget/partymgr/CommunicationScreens.xml
Modified: ofbiz/branches/release09.04/applications/party/widget/partymgr/CommunicationScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release09.04/applications/party/widget/partymgr/CommunicationScreens.xml?rev=768456&r1=768455&r2=768456&view=diff==============================================================================
--- ofbiz/branches/release09.04/applications/party/widget/partymgr/CommunicationScreens.xml (original)
+++ ofbiz/branches/release09.04/applications/party/widget/partymgr/CommunicationScreens.xml Sat Apr 25 03:33:02 2009
@@ -818,6 +818,7 @@
<section>
<actions>
<script location="component://common/webcommon/WEB-INF/actions/includes/retrievePortletAttributes.groovy"/>
+ <set field="internalNotesOnly" from-field="internalNotesOnly" default-value="true"/>
<set field="partyId" from-field="parameters.partyId" default-value="${communicationPartyId}"/>
<set field="partyId" from-field="partyId" default-value="${userLogin.partyId}"/>
<set field="all" from-field="parameters.all"/>
@@ -831,6 +832,8 @@
value="${partyId}"/>
<condition-expr field-name="roleStatusId"
operator="not-equals" value="COM_ROLE_COMPLETED" ignore="${all}"/>
+ <condition-expr field-name="communicationEventTypeId"
+ operator="equals" value="COMMENT_NOTE" ignore="${internalNotesOnly}"/>
</condition-list>
<order-by field-name="-datetimeStarted"/>
</entity-condition>