Commit 8d24ea61 authored by Sebastien Robin's avatar Sebastien Robin

erp5_mysql_innodb_catalog: make z_related_child_aggregate compatible with left joins

parent fc4919e2
......@@ -58,11 +58,13 @@ query_table="catalog"</string> </value>
<key> <string>src</string> </key>
<value> <string encoding="cdata"><![CDATA[
<dtml-var table_0>.uid = <dtml-var table_1>.uid\n
<dtml-var RELATED_QUERY_SEPARATOR>\n
<dtml-var table_2>.uid = <dtml-var table_1>.category_uid\n
<dtml-var RELATED_QUERY_SEPARATOR>\n
<dtml-var table_1>.base_category_uid = <dtml-var "portal_categories.aggregate.getUid()">\n
AND <dtml-var table_2>.uid = <dtml-var table_1>.category_uid\n
AND <dtml-var table_0>.uid = <dtml-var table_1>.uid\n
<dtml-var RELATED_QUERY_SEPARATOR>\n
<dtml-var table_0>.parent_uid = <dtml-var query_table>.uid
AND <dtml-var table_0>.parent_uid = <dtml-var query_table>.uid
]]></string> </value>
</item>
......
262
\ No newline at end of file
263
\ 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