[Commits] (donn) Fixed the In and Out collections

commits at osafoundation.org commits at osafoundation.org
Tue Aug 31 17:41:08 PDT 2004


Commit by: donn
Modified files:
chandler/parcels/osaf/views/content/parcel.xml 1.64 1.65

Log message:
Fixed the In and Out collections
--------------------------------------------
  * now they only show Inbound (or Outbound) items
  * using new queries

ViewCVS links:
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/views/content/parcel.xml.diff?r1=text&tr1=1.64&r2=text&tr2=1.65

Index: chandler/parcels/osaf/views/content/parcel.xml
diff -u chandler/parcels/osaf/views/content/parcel.xml:1.64 chandler/parcels/osaf/views/content/parcel.xml:1.65
--- chandler/parcels/osaf/views/content/parcel.xml:1.64	Mon Aug 30 19:31:30 2004
+++ chandler/parcels/osaf/views/content/parcel.xml	Tue Aug 31 17:41:06 2004
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
 
-<!-- $Revision: 1.64 $ -->
-<!-- $Date: 2004/08/31 02:31:30 $ -->
+<!-- $Revision: 1.65 $ -->
+<!-- $Date: 2004/09/01 00:41:06 $ -->
 <!-- Copyright (c) 2004 Open Source Applications Foundation -->
 <!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
 
@@ -93,7 +93,7 @@
   </contentModel:NamedCollection>
 
   <contentModel:Query itsName="inQuery">
-    <data value="for i in '//parcels/osaf/contentmodel/mail/MailMessageMixin' where True"/>
+    <data value="for i in '//parcels/osaf/contentmodel/mail/MailMessageMixin' where i.isInbound == True"/>
   </contentModel:Query>
 
   <contentModel:NamedCollection itsName="inItemCollection">
@@ -102,7 +102,7 @@
   </contentModel:NamedCollection>
 
   <contentModel:Query itsName="outQuery">
-    <data value="for i in '//parcels/osaf/contentmodel/mail/MailMessageMixin' where True"/>
+    <data value="for i in '//parcels/osaf/contentmodel/mail/MailMessageMixin' where i.isOutbound == True"/>
   </contentModel:Query>
 
   <contentModel:NamedCollection itsName="outItemCollection">



More information about the Commits mailing list