Commit 09c5fa0e authored by Boris Kocherov's avatar Boris Kocherov

erp5_ingestion_mysql_innodb_catalog: index url_string in portal_type: Fax,...

erp5_ingestion_mysql_innodb_catalog: index url_string in portal_type: Fax, Telephone, Web Page, Web Style, Web Script
parent 4e3853bd
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<value>1</value> <value>1</value>
</item> </item>
<item key="_filter_expression_archive" type="str"> <item key="_filter_expression_archive" type="str">
<value>python: context.getPortalType() in ('Email', 'Fax', 'Telephone',)</value> <value>python: context.getPortalType() in ('Email', 'Fax', 'Telephone','Web Page', 'Web Style', 'Web Script')</value>
</item> </item>
<item key="_filter_expression_cache_key_archive" type="tuple"> <item key="_filter_expression_cache_key_archive" type="tuple">
<value>portal_type</value> <value>portal_type</value>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<value>1</value> <value>1</value>
</item> </item>
<item key="_filter_expression_archive" type="str"> <item key="_filter_expression_archive" type="str">
<value>python: context.getPortalType() in ('Email', 'Fax', 'Telephone')</value> <value>python: context.getPortalType() in ('Email', 'Fax', 'Telephone','Web Page', 'Web Style', 'Web Script')</value>
</item> </item>
<item key="_filter_expression_cache_key_archive" type="tuple"> <item key="_filter_expression_cache_key_archive" type="tuple">
<value>portal_type</value> <value>portal_type</value>
......
<dtml-let email_list="[]"> <dtml-let email_list="[]">
<dtml-in prefix="loop" expr="_.range(_.len(uid))"> <dtml-in prefix="loop" expr="_.range(_.len(uid))">
<dtml-if expr="getPortalType[loop_item]=='Email'"> <dtml-call expr="email_list.append(loop_item)">
<dtml-call expr="email_list.append(loop_item)">
</dtml-if>
</dtml-in> </dtml-in>
<dtml-if expr="_.len(email_list) > 0"> <dtml-if expr="_.len(email_list) > 0">
REPLACE INTO REPLACE INTO
......
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