Commit 99e4a6c7 authored by Vincent Pelletier's avatar Vincent Pelletier

z_related_translated_causality_portal_type: Add support for left-join use

parent 39369169
<dtml-var table_1>.uid = <dtml-var table_0>.category_uid
<dtml-var RELATED_QUERY_SEPARATOR>
<dtml-var table_2>.original_message = <dtml-var table_1>.portal_type
AND <dtml-var table_2>.message_context = "portal_type"
AND <dtml-var table_2>.language = <dtml-sqlvar "Localizer.get_selected_language()" type="string">
AND <dtml-var table_1>.uid = <dtml-var table_0>.category_uid
<dtml-var RELATED_QUERY_SEPARATOR>
<dtml-var table_0>.uid = catalog.uid
AND <dtml-var table_0>.base_category_uid = <dtml-var "portal_categories.causality.getUid()">
AND <dtml-var table_0>.uid = catalog.uid
......@@ -8,15 +8,14 @@
<dictionary>
<item>
<key> <string>allow_simple_one_argument_traversal</string> </key>
<value>
<none/>
</value>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>arguments_src</string> </key>
<value> <string>table_0\n
table_1\n
table_2</string> </value>
table_2\n
RELATED_QUERY_SEPARATOR=" AND "</string> </value>
</item>
<item>
<key> <string>cache_time_</string> </key>
......@@ -24,11 +23,15 @@ table_2</string> </value>
</item>
<item>
<key> <string>class_file_</string> </key>
<value> <string></string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>class_name_</string> </key>
<value> <string></string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>connection_hook</string> </key>
......@@ -58,7 +61,7 @@ table_2</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
<value> <string>z_related_translated_causality_portal_type</string> </value>
</item>
</dictionary>
</pickle>
......
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