Commit fda42363 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 7d59754f
......@@ -6,7 +6,7 @@
<value>1</value>
</item>
<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 key="_filter_expression_cache_key_archive" type="tuple">
<value>portal_type</value>
......
......@@ -6,7 +6,7 @@
<value>1</value>
</item>
<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 key="_filter_expression_cache_key_archive" type="tuple">
<value>portal_type</value>
......
<dtml-let email_list="[]">
<dtml-in prefix="loop" expr="_.range(_.len(uid))">
<dtml-if expr="getPortalType[loop_item]=='Email'">
<dtml-call expr="email_list.append(loop_item)">
</dtml-if>
<dtml-call expr="email_list.append(loop_item)">
</dtml-in>
<dtml-if expr="_.len(email_list) > 0">
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