Commit 02be4626 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

make telephone field searchable in person_module view and organisation_module view.

parent d6fb0dea
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="SQL" module="Products.ZSQLMethods.SQL"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>arguments_src</string> </key>
<value> <string>table_0\r\n
table_1</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_child_telephone</string> </value>
</item>
<item>
<key> <string>src</string> </key>
<value> <string encoding="cdata"><![CDATA[
<dtml-comment>\n
table_0 : catalog as child\n
table_1 : telephone as telephone\n
</dtml-comment>\n
catalog.uid = <dtml-var table_0>.parent_uid\n
AND <dtml-var table_0>.portal_type = \'Telephone\'\n
AND <dtml-var table_0>.uid = <dtml-var table_1>.uid
]]></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<key_list> <key_list>
<key>child_address_SearchableText | catalog,full_text/SearchableText/z_related_child_address</key> <key>child_address_SearchableText | catalog,full_text/SearchableText/z_related_child_address</key>
<key>child_telephone_SearchableText | catalog,full_text/SearchableText/z_related_child_telephone</key>
<key>default_email_text | catalog,email/url_string/z_related_default_email</key> <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>destination_person_title | category,catalog/title/z_related_destination_person</key>
<key>owner_title | catalog/title/z_related_owner_title</key> <key>owner_title | catalog/title/z_related_owner_title</key>
......
...@@ -71,6 +71,7 @@ ...@@ -71,6 +71,7 @@
<value> <value>
<list> <list>
<string>listbox_child_address_SearchableText</string> <string>listbox_child_address_SearchableText</string>
<string>listbox_child_telephone_SearchableText</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -170,7 +170,7 @@ ...@@ -170,7 +170,7 @@
<string>Activity</string> <string>Activity</string>
</tuple> </tuple>
<tuple> <tuple>
<string>default_telephone_text</string> <string>child_telephone_SearchableText</string>
<string>Telephone</string> <string>Telephone</string>
</tuple> </tuple>
<tuple> <tuple>
...@@ -258,6 +258,10 @@ ...@@ -258,6 +258,10 @@
<string>title</string> <string>title</string>
<string>Name</string> <string>Name</string>
</tuple> </tuple>
<tuple>
<string>child_telephone_SearchableText</string>
<string>Telephone</string>
</tuple>
<tuple> <tuple>
<string>default_email_text</string> <string>default_email_text</string>
<string>Email</string> <string>Email</string>
...@@ -325,7 +329,7 @@ ...@@ -325,7 +329,7 @@
<string>Entity_getDefaultEmailAsURL</string> <string>Entity_getDefaultEmailAsURL</string>
</tuple> </tuple>
<tuple> <tuple>
<string>default_telephone_text</string> <string>child_telephone_SearchableText</string>
<string>Entity_getDefaultTelephoneAsURL</string> <string>Entity_getDefaultTelephoneAsURL</string>
</tuple> </tuple>
</list> </list>
......
...@@ -71,6 +71,7 @@ ...@@ -71,6 +71,7 @@
<value> <value>
<list> <list>
<string>listbox_child_address_SearchableText</string> <string>listbox_child_address_SearchableText</string>
<string>listbox_child_telephone_SearchableText</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -183,7 +183,7 @@ ...@@ -183,7 +183,7 @@
<string>Role</string> <string>Role</string>
</tuple> </tuple>
<tuple> <tuple>
<string>default_telephone_text</string> <string>child_telephone_SearchableText</string>
<string>Telephone</string> <string>Telephone</string>
</tuple> </tuple>
<tuple> <tuple>
...@@ -303,7 +303,7 @@ Role & Region ...@@ -303,7 +303,7 @@ Role & Region
<string>Email</string> <string>Email</string>
</tuple> </tuple>
<tuple> <tuple>
<string>default_telephone_text</string> <string>child_telephone_SearchableText</string>
<string>Telephone</string> <string>Telephone</string>
</tuple> </tuple>
<tuple> <tuple>
...@@ -326,10 +326,6 @@ Role & Region ...@@ -326,10 +326,6 @@ Role & Region
<string>translated_validation_state_title</string> <string>translated_validation_state_title</string>
<string>State</string> <string>State</string>
</tuple> </tuple>
<tuple>
<string>default_telephone_text</string>
<string>Telephone</string>
</tuple>
<tuple> <tuple>
<string>default_email_text</string> <string>default_email_text</string>
<string>Email</string> <string>Email</string>
...@@ -389,7 +385,7 @@ Role & Region ...@@ -389,7 +385,7 @@ Role & Region
<string>Email</string> <string>Email</string>
</tuple> </tuple>
<tuple> <tuple>
<string>default_telephone_text</string> <string>child_telephone_SearchableText</string>
<string>Telephone</string> <string>Telephone</string>
</tuple> </tuple>
<tuple> <tuple>
...@@ -412,17 +408,13 @@ Role & Region ...@@ -412,17 +408,13 @@ Role & Region
<string>translated_validation_state_title</string> <string>translated_validation_state_title</string>
<string>State</string> <string>State</string>
</tuple> </tuple>
<tuple>
<string>default_telephone_text</string>
<string>Telephone</string>
</tuple>
<tuple> <tuple>
<string>default_email_text</string> <string>default_email_text</string>
<string>Email</string> <string>Email</string>
</tuple> </tuple>
<tuple> <tuple>
<string>default_address_text</string> <string>child_address_SearchableText</string>
<string>Address</string> <string>Address (Full Text)</string>
</tuple> </tuple>
<tuple> <tuple>
<string>reference</string> <string>reference</string>
...@@ -452,7 +444,7 @@ Role & Region ...@@ -452,7 +444,7 @@ Role & Region
<string>Entity_getDefaultEmailAsURL</string> <string>Entity_getDefaultEmailAsURL</string>
</tuple> </tuple>
<tuple> <tuple>
<string>default_telephone_text</string> <string>child_telephone_SearchableText</string>
<string>Entity_getDefaultTelephoneAsURL</string> <string>Entity_getDefaultTelephoneAsURL</string>
</tuple> </tuple>
</list> </list>
......
2011-10-24 Kazuhiko
* make telephone field searchable in person_module view and organisation_module view.
2011-07-01 yusei 2011-07-01 yusei
* Set proper title to interaction workflow. * Set proper title to interaction workflow.
......
998 999
\ No newline at end of file \ No newline at end of file
erp5_mysql_innodb/z_related_child_address erp5_mysql_innodb/z_related_child_address
erp5_mysql_innodb/z_related_child_telephone
erp5_mysql_innodb/z_related_default_email erp5_mysql_innodb/z_related_default_email
erp5_mysql_innodb/z_related_destination_person erp5_mysql_innodb/z_related_destination_person
erp5_mysql_innodb/z_related_owner_title erp5_mysql_innodb/z_related_owner_title
......
...@@ -5,3 +5,4 @@ default_email_text | catalog,email/url_string/z_related_default_email ...@@ -5,3 +5,4 @@ default_email_text | catalog,email/url_string/z_related_default_email
related_resource_use_uid | category,category,catalog,catalog/uid/z_related_resource_use related_resource_use_uid | category,category,catalog,catalog/uid/z_related_resource_use
owner_title | catalog/title/z_related_owner_title owner_title | catalog/title/z_related_owner_title
child_address_SearchableText | catalog,full_text/SearchableText/z_related_child_address child_address_SearchableText | catalog,full_text/SearchableText/z_related_child_address
child_telephone_SearchableText | catalog,full_text/SearchableText/z_related_child_telephone
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment