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
Papa Tamsir Kane
erp5
Commits
b09680cb
Commit
b09680cb
authored
Feb 04, 2013
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add left join support in some related keys
parent
2e0c4c5f
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
42 additions
and
23 deletions
+42
-23
bt5/erp5_invoicing/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_grand_grand_grand_parent.xml
.../erp5_mysql_innodb/z_related_grand_grand_grand_parent.xml
+13
-5
bt5/erp5_invoicing/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_grand_grand_parent_specialise.xml
..._mysql_innodb/z_related_grand_grand_parent_specialise.xml
+13
-6
bt5/erp5_invoicing/bt/revision
bt5/erp5_invoicing/bt/revision
+1
-1
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_explanation.xml
...ortal_catalog/erp5_mysql_innodb/z_related_explanation.xml
+7
-4
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_parent_specialise.xml
...catalog/erp5_mysql_innodb/z_related_parent_specialise.xml
+8
-7
No files found.
bt5/erp5_invoicing/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_grand_grand_grand_parent.xml
View file @
b09680cb
...
...
@@ -17,7 +17,9 @@
<value>
<string>
table_0\r\n
table_1\r\n
table_2\r\n
table_3
</string>
</value>
table_3\r\n
RELATED_QUERY_SEPARATOR=" AND "\r\n
query_table="catalog"
</string>
</value>
</item>
<item>
<key>
<string>
cache_time_
</string>
</key>
...
...
@@ -57,11 +59,17 @@ table_3</string> </value>
<key>
<string>
src
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
<dtml-var table_0>
.uid = catalog.parent_uid\n
AND
<dtml-var
table_1
>
.uid =
<dtml-var
table_0
>
.parent_uid\n
AND
<dtml-var
table_2
>
.uid =
<dtml-var
table_1
>
.parent_uid\n
AND
<dtml-var
table_3
>
.uid =
<dtml-var
table_2
>
.parent_uid\n
\n
<dtml-var table_1>
.uid =
<dtml-var
table_0
>
.parent_uid\n
<dtml-var
RELATED_QUERY_SEPARATOR
>
\n
\n
<dtml-var
table_2
>
.uid =
<dtml-var
table_1
>
.parent_uid\n
<dtml-var
RELATED_QUERY_SEPARATOR
>
\n
\n
<dtml-var
table_3
>
.uid =
<dtml-var
table_2
>
.parent_uid\n
\n
<dtml-var
RELATED_QUERY_SEPARATOR
>
\n
<dtml-var
table_0
>
.uid =
<dtml-var
query_table
>
.parent_uid\n
]]>
</string>
</value>
...
...
bt5/erp5_invoicing/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_grand_grand_parent_specialise.xml
View file @
b09680cb
...
...
@@ -17,7 +17,9 @@
<value>
<string>
table_0\r\n
table_1\r\n
table_2\r\n
table_3
</string>
</value>
table_3\r\n
RELATED_QUERY_SEPARATOR=" AND "\r\n
query_table="catalog"
</string>
</value>
</item>
<item>
<key>
<string>
cache_time_
</string>
</key>
...
...
@@ -58,11 +60,16 @@ table_3</string> </value>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
<dtml-var table_0>
.base_category_uid =
<dtml-var
"portal_categories.specialise.getUid()"
>
\n
AND
<dtml-var
table_0
>
.uid =
<dtml-var
table_2
>
.parent_uid\n
AND
<dtml-var
table_1
>
.uid = catalog.parent_uid\n
AND
<dtml-var
table_2
>
.uid =
<dtml-var
table_1
>
.parent_uid\n
AND
<dtml-var
table_3
>
.uid =
<dtml-var
table_0
>
.category_uid\n
<dtml-var
RELATED_QUERY_SEPARATOR
>
\n
\n
<dtml-var
table_0
>
.uid =
<dtml-var
table_2
>
.parent_uid\n
<dtml-var
RELATED_QUERY_SEPARATOR
>
\n
\n
<dtml-var
table_2
>
.uid =
<dtml-var
table_1
>
.parent_uid\n
<dtml-var
RELATED_QUERY_SEPARATOR
>
\n
\n
<dtml-var
table_3
>
.uid =
<dtml-var
table_0
>
.category_uid\n
AND
<dtml-var
table_1
>
.uid =
<dtml-var
query_table
>
.parent_uid
]]>
</string>
</value>
</item>
...
...
bt5/erp5_invoicing/bt/revision
View file @
b09680cb
386
\ No newline at end of file
387
\ No newline at end of file
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_explanation.xml
View file @
b09680cb
...
...
@@ -14,8 +14,10 @@
</item>
<item>
<key>
<string>
arguments_src
</string>
</key>
<value>
<string>
table_0\n
table_1
</string>
</value>
<value>
<string>
table_0\r\n
table_1\r\n
RELATED_QUERY_SEPARATOR=" AND "\r\n
query_table="catalog"
</string>
</value>
</item>
<item>
<key>
<string>
cache_time_
</string>
</key>
...
...
@@ -55,8 +57,9 @@ table_1</string> </value>
<key>
<string>
src
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
<dtml-var table_0>
.uid = catalog.uid\n
AND
<dtml-var
table_1
>
.uid =
<dtml-var
table_0
>
.explanation_uid\n
<dtml-var table_1>
.uid =
<dtml-var
table_0
>
.explanation_uid\n
<dtml-var
RELATED_QUERY_SEPARATOR
>
\n
<dtml-var
table_0
>
.uid =
<dtml-var
query_table
>
.uid\n
]]>
</string>
</value>
...
...
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_parent_specialise.xml
View file @
b09680cb
...
...
@@ -14,8 +14,10 @@
</item>
<item>
<key>
<string>
arguments_src
</string>
</key>
<value>
<string>
table_0\n
table_1
</string>
</value>
<value>
<string>
table_0\r\n
table_1\r\n
RELATED_QUERY_SEPARATOR=" AND "\r\n
query_table="catalog"
</string>
</value>
</item>
<item>
<key>
<string>
cache_time_
</string>
</key>
...
...
@@ -55,11 +57,10 @@ table_1</string> </value>
<key>
<string>
src
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
<dtml-var table_1>
.uid =
<dtml-var
table_0
>
.category_uid\n
AND
<dtml-var
table_0
>
.base_category_uid =
<dtml-var
"portal_categories.specialise.getUid()"
>
\n
AND
<dtml-var
table_0
>
.uid = catalog.parent_uid\n
\n
<dtml-var table_0>
.base_category_uid =
<dtml-var
"portal_categories.specialise.getUid()"
>
\n
AND
<dtml-var
table_1
>
.uid =
<dtml-var
table_0
>
.category_uid\n
<dtml-var
RELATED_QUERY_SEPARATOR
>
\n
<dtml-var
table_0
>
.uid =
<dtml-var
query_table
>
.parent_uid
]]>
</string>
</value>
</item>
...
...
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