Commit c883cc84 authored by Romain Courteaud's avatar Romain Courteaud

slapos_mysql_innodb_catalog: index Software Product Release Variation url_string

parent d5a31e82
<dtml-let email_list="[]">
<dtml-in prefix="loop" expr="_.range(_.len(uid))">
<dtml-if expr="getPortalType[loop_item] in ['Email', 'Software Release', 'Software Installation', 'Software Instance', 'Instance Tree']">
<dtml-if expr="getPortalType[loop_item] in ['Email', 'Software Release', 'Software Product Release Variation', 'Software Installation', 'Software Instance', 'Instance Tree']">
<dtml-call expr="email_list.append(loop_item)">
</dtml-if>
</dtml-in>
......
......@@ -6,19 +6,35 @@
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>allow_simple_one_argument_traversal</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>arguments_src</string> </key>
<value> <string>uid\r\n
getUrlString\r\n
<value> <string>uid\n
getUrlString\n
getPortalType</string> </value>
</item>
<item>
<key> <string>class_file_</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>class_name_</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>connection_id</string> </key>
<value> <string>erp5_sql_connection</string> </value>
</item>
<item>
<key> <string>expression</string> </key>
<value> <string>python: context.getPortalType() in (\'Email\', \'Fax\', \'Telephone\', \'Software Release\', \'Software Installation\', \'Software Instance\', \'Instance Tree\')</string> </value>
<value> <string>python: context.getPortalType() in (\'Email\', \'Fax\', \'Telephone\', \'Software Release\', \'Software Product Release Variation\', \'Software Installation\', \'Software Instance\', \'Instance Tree\')</string> </value>
</item>
<item>
<key> <string>expression_cache_key</string> </key>
......@@ -42,7 +58,7 @@ getPortalType</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
<value> <string>z_catalog_email_list</string> </value>
</item>
<item>
<key> <string>type</string> </key>
......
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