[Erp5-report] r26423 - in /erp5/trunk/bt5/erp5_base: CatalogMethodTemplateItem/portal_catal...
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Apr 15 11:38:51 CEST 2009
Author: jerome
Date: Wed Apr 15 11:38:50 2009
New Revision: 26423
URL: http://svn.erp5.org?rev=26423&view=rev
Log:
add a related key to search by default_email_text
Added:
erp5/trunk/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_default_email.catalog_keys.xml
erp5/trunk/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_default_email.xml
Modified:
erp5/trunk/bt5/erp5_base/CatalogRelatedKeyTemplateItem/related_key_list.xml
erp5/trunk/bt5/erp5_base/bt/revision
erp5/trunk/bt5/erp5_base/bt/template_catalog_method_id_list
erp5/trunk/bt5/erp5_base/bt/template_catalog_related_key_list
Added: erp5/trunk/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_default_email.catalog_keys.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_default_email.catalog_keys.xml?rev=26423&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_default_email.catalog_keys.xml (added)
+++ erp5/trunk/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_default_email.catalog_keys.xml [utf8] Wed Apr 15 11:38:50 2009
@@ -1,0 +1,2 @@
+<catalog_method>
+</catalog_method>
Added: erp5/trunk/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_default_email.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_default_email.xml?rev=26423&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_default_email.xml (added)
+++ erp5/trunk/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_default_email.xml [utf8] Wed Apr 15 11:38:50 2009
@@ -1,0 +1,146 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <tuple>
+ <global name="SQL" module="Products.ZSQLMethods.SQL"/>
+ <tuple/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>_arg</string> </key>
+ <value>
+ <object>
+ <klass>
+ <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/>
+ </klass>
+ <tuple/>
+ <state>
+ <dictionary>
+ <item>
+ <key> <string>_data</string> </key>
+ <value>
+ <dictionary>
+ <item>
+ <key> <string>query_table</string> </key>
+ <value>
+ <dictionary/>
+ </value>
+ </item>
+ <item>
+ <key> <string>table_0</string> </key>
+ <value>
+ <dictionary/>
+ </value>
+ </item>
+ <item>
+ <key> <string>table_1</string> </key>
+ <value>
+ <dictionary/>
+ </value>
+ </item>
+ </dictionary>
+ </value>
+ </item>
+ <item>
+ <key> <string>_keys</string> </key>
+ <value>
+ <list>
+ <string>table_0</string>
+ <string>table_1</string>
+ <string>query_table</string>
+ </list>
+ </value>
+ </item>
+ </dictionary>
+ </state>
+ </object>
+ </value>
+ </item>
+ <item>
+ <key> <string>arguments_src</string> </key>
+ <value> <string>table_0\r\n
+table_1\r\n
+query_table</string> </value>
+ </item>
+ <item>
+ <key> <string>connection_id</string> </key>
+ <value> <string>erp5_sql_connection</string> </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>z_related_default_email</string> </value>
+ </item>
+ <item>
+ <key> <string>src</string> </key>
+ <value> <string encoding="cdata"><![CDATA[
+
+<dtml-var table_0>.uid = <dtml-var table_1>.uid\n
+AND <dtml-var table_0>.parent_uid = <dtml-var query_table>.uid\n
+AND <dtml-var table_0>.portal_type = \'Email\'\n
+AND <dtml-var table_0>.id = \'default_email\'\n
+\n
+
+
+]]></string> </value>
+ </item>
+ <item>
+ <key> <string>template</string> </key>
+ <value>
+ <object>
+ <klass>
+ <global name="__newobj__" module="copy_reg"/>
+ </klass>
+ <tuple>
+ <global name="SQL" module="Shared.DC.ZRDB.DA"/>
+ </tuple>
+ <state>
+ <dictionary>
+ <item>
+ <key> <string>__name__</string> </key>
+ <value> <string encoding="cdata"><![CDATA[
+
+<string>
+
+]]></string> </value>
+ </item>
+ <item>
+ <key> <string>_vars</string> </key>
+ <value>
+ <dictionary/>
+ </value>
+ </item>
+ <item>
+ <key> <string>globals</string> </key>
+ <value>
+ <dictionary/>
+ </value>
+ </item>
+ <item>
+ <key> <string>raw</string> </key>
+ <value> <string encoding="cdata"><![CDATA[
+
+<dtml-var table_0>.uid = <dtml-var table_1>.uid\n
+AND <dtml-var table_0>.parent_uid = <dtml-var query_table>.uid\n
+AND <dtml-var table_0>.portal_type = \'Email\'\n
+AND <dtml-var table_0>.id = \'default_email\'\n
+\n
+
+
+]]></string> </value>
+ </item>
+ </dictionary>
+ </state>
+ </object>
+ </value>
+ </item>
+ <item>
+ <key> <string>title</string> </key>
+ <value> <string></string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Modified: erp5/trunk/bt5/erp5_base/CatalogRelatedKeyTemplateItem/related_key_list.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_base/CatalogRelatedKeyTemplateItem/related_key_list.xml?rev=26423&r1=26422&r2=26423&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_base/CatalogRelatedKeyTemplateItem/related_key_list.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_base/CatalogRelatedKeyTemplateItem/related_key_list.xml [utf8] Wed Apr 15 11:38:50 2009
@@ -1,5 +1,6 @@
<key_list>
- <key>destination_person_title | category,catalog/title/z_related_destination_person</key>
- <key>source_organisation_title | category,catalog/title/z_related_source_organisation</key>
- <key>source_person_title | category,catalog/title/z_related_source_person</key>
-</key_list>
+ <key>default_email_text | catalog,email/url_string/z_related_default_email</key>
+ <key>destination_person_title | category,catalog/title/z_related_destination_person</key>
+ <key>source_organisation_title | category,catalog/title/z_related_source_organisation</key>
+ <key>source_person_title | category,catalog/title/z_related_source_person</key>
+</key_list>
Modified: erp5/trunk/bt5/erp5_base/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_base/bt/revision?rev=26423&r1=26422&r2=26423&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_base/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_base/bt/revision [utf8] Wed Apr 15 11:38:50 2009
@@ -1,1 +1,1 @@
-579
+580
Modified: erp5/trunk/bt5/erp5_base/bt/template_catalog_method_id_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_base/bt/template_catalog_method_id_list?rev=26423&r1=26422&r2=26423&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_base/bt/template_catalog_method_id_list [utf8] (original)
+++ erp5/trunk/bt5/erp5_base/bt/template_catalog_method_id_list [utf8] Wed Apr 15 11:38:50 2009
@@ -1,3 +1,4 @@
+erp5_mysql_innodb/z_related_default_email
erp5_mysql_innodb/z_related_destination_person
erp5_mysql_innodb/z_related_source_organisation
erp5_mysql_innodb/z_related_source_person
Modified: erp5/trunk/bt5/erp5_base/bt/template_catalog_related_key_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_base/bt/template_catalog_related_key_list?rev=26423&r1=26422&r2=26423&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_base/bt/template_catalog_related_key_list [utf8] (original)
+++ erp5/trunk/bt5/erp5_base/bt/template_catalog_related_key_list [utf8] Wed Apr 15 11:38:50 2009
@@ -1,3 +1,4 @@
source_organisation_title | category,catalog/title/z_related_source_organisation
source_person_title | category,catalog/title/z_related_source_person
-destination_person_title | category,catalog/title/z_related_destination_person
+destination_person_title | category,catalog/title/z_related_destination_person
+default_email_text | catalog,email/url_string/z_related_default_email
More information about the Erp5-report
mailing list