Commit 37cc2b2c authored by Jérome Perrin's avatar Jérome Perrin Committed by Julien Muchembled

Add "explicit join support" to the parent_strict_group related key

parent 9703cacb
...@@ -14,8 +14,10 @@ ...@@ -14,8 +14,10 @@
</item> </item>
<item> <item>
<key> <string>arguments_src</string> </key> <key> <string>arguments_src</string> </key>
<value> <string>table_0\r\n <value> <string>query_table\r\n
table_1</string> </value> table_0\r\n
table_1\r\n
RELATED_QUERY_SEPARATOR=" AND "</string> </value>
</item> </item>
<item> <item>
<key> <string>cache_time_</string> </key> <key> <string>cache_time_</string> </key>
...@@ -56,10 +58,9 @@ table_1</string> </value> ...@@ -56,10 +58,9 @@ table_1</string> </value>
<value> <string encoding="cdata"><![CDATA[ <value> <string encoding="cdata"><![CDATA[
<dtml-var table_1>.uid = <dtml-var table_0>.category_uid\n <dtml-var table_1>.uid = <dtml-var table_0>.category_uid\n
AND <dtml-var table_0>.base_category_uid = <dtml-var "portal_categories.group.getUid()">\n <dtml-var RELATED_QUERY_SEPARATOR> <dtml-var table_0>.base_category_uid = <dtml-var "portal_categories.group.getUid()">\n
AND <dtml-var table_0>.uid = catalog.parent_uid\n AND <dtml-var table_0>.uid = <dtml-var query_table>.parent_uid\n
AND <dtml-var table_0>.category_strict_membership = 1\n AND <dtml-var table_0>.category_strict_membership = 1\n
\n
]]></string> </value> ]]></string> </value>
......
234 235
\ No newline at end of file \ 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