Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Łukasz Nowak
erp5
Commits
faadbbfa
Commit
faadbbfa
authored
Apr 12, 2013
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add left join support to coordinate related keys
parent
afc14e0f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
20 deletions
+21
-20
bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_child_address.xml
...tal_catalog/erp5_mysql_innodb/z_related_child_address.xml
+8
-8
bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_child_telephone.xml
...l_catalog/erp5_mysql_innodb/z_related_child_telephone.xml
+8
-8
bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_default_email.xml
...tal_catalog/erp5_mysql_innodb/z_related_default_email.xml
+4
-3
bt5/erp5_base/bt/revision
bt5/erp5_base/bt/revision
+1
-1
No files found.
bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_child_address.xml
View file @
faadbbfa
...
...
@@ -9,7 +9,9 @@
<item>
<key>
<string>
arguments_src
</string>
</key>
<value>
<string>
table_0\r\n
table_1
</string>
</value>
table_1\r\n
query_table="catalog"\r\n
RELATED_QUERY_SEPARATOR=" AND "
</string>
</value>
</item>
<item>
<key>
<string>
connection_id
</string>
</key>
...
...
@@ -23,13 +25,11 @@ table_1</string> </value>
<key>
<string>
src
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
<dtml-comment>
\n
table_0 : catalog as child\n
table_1 : address as address\n
</dtml-comment>
\n
catalog.uid =
<dtml-var
table_0
>
.parent_uid\n
AND
<dtml-var
table_0
>
.portal_type = \'Address\'\n
AND
<dtml-var
table_0
>
.uid =
<dtml-var
table_1
>
.uid
<dtml-var table_0>
.uid =
<dtml-var
table_1
>
.uid\n
<dtml-var
RELATED_QUERY_SEPARATOR
>
\n
<dtml-var
table_0
>
.portal_type = \'Address\'\n
AND
<dtml-var
query_table
>
.uid =
<dtml-var
table_0
>
.parent_uid\n
]]>
</string>
</value>
</item>
...
...
bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_child_telephone.xml
View file @
faadbbfa
...
...
@@ -9,7 +9,9 @@
<item>
<key>
<string>
arguments_src
</string>
</key>
<value>
<string>
table_0\r\n
table_1
</string>
</value>
table_1\r\n
query_table="catalog"\r\n
RELATED_QUERY_SEPARATOR=" AND "
</string>
</value>
</item>
<item>
<key>
<string>
connection_id
</string>
</key>
...
...
@@ -23,13 +25,11 @@ table_1</string> </value>
<key>
<string>
src
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
<dtml-comment>
\n
table_0 : catalog as child\n
table_1 : telephone as telephone\n
</dtml-comment>
\n
catalog.uid =
<dtml-var
table_0
>
.parent_uid\n
AND
<dtml-var
table_0
>
.portal_type = \'Telephone\'\n
AND
<dtml-var
table_0
>
.uid =
<dtml-var
table_1
>
.uid
<dtml-var table_0>
.uid =
<dtml-var
table_1
>
.uid\n
<dtml-var
RELATED_QUERY_SEPARATOR
>
\n
<dtml-var
table_0
>
.portal_type = \'Telephone\'\n
AND
<dtml-var
query_table
>
.uid =
<dtml-var
table_0
>
.parent_uid\n
]]>
</string>
</value>
</item>
...
...
bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_default_email.xml
View file @
faadbbfa
...
...
@@ -10,7 +10,8 @@
<key>
<string>
arguments_src
</string>
</key>
<value>
<string>
table_0\r\n
table_1\r\n
query_table
</string>
</value>
query_table="catalog"\r\n
RELATED_QUERY_SEPARATOR=" AND "
</string>
</value>
</item>
<item>
<key>
<string>
connection_id
</string>
</key>
...
...
@@ -25,10 +26,10 @@ query_table</string> </value>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
<dtml-var table_0>
.uid =
<dtml-var
table_1
>
.uid\n
AND
<dtml-var
table_0
>
.parent_uid =
<dtml-var
query_table
>
.uid\n
<dtml-var
RELATED_QUERY_SEPARATOR
>
\n
<dtml-var
table_0
>
.parent_uid =
<dtml-var
query_table
>
.uid\n
AND
<dtml-var
table_0
>
.portal_type = \'Email\'\n
AND
<dtml-var
table_0
>
.id = \'default_email\'\n
\n
]]>
</string>
</value>
...
...
bt5/erp5_base/bt/revision
View file @
faadbbfa
1035
\ No newline at end of file
1036
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment