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
Hardik Juneja
erp5
Commits
e64ea5de
Commit
e64ea5de
authored
Apr 10, 2013
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
support left join in preferred gap related keys
parent
77341a89
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
7 deletions
+13
-7
bt5/erp5_accounting/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_preferred_gap.xml
...tal_catalog/erp5_mysql_innodb/z_related_preferred_gap.xml
+6
-3
bt5/erp5_accounting/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_strict_membership_preferred_gap.xml
...ysql_innodb/z_related_strict_membership_preferred_gap.xml
+6
-3
bt5/erp5_accounting/bt/revision
bt5/erp5_accounting/bt/revision
+1
-1
No files found.
bt5/erp5_accounting/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_preferred_gap.xml
View file @
e64ea5de
...
...
@@ -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
RELATED_QUERY_SEPARATOR=" AND "\r\n
query_table="catalog"
</string>
</value>
</item>
<item>
<key>
<string>
connection_id
</string>
</key>
...
...
@@ -27,8 +29,9 @@ table_1</string> </value>
<dtml-if
expr=
"portal_preferences.getPreferredAccountingTransactionGap()"
>
\n
AND
<dtml-var
table_1
>
.relative_url LIKE
<dtml-sqlvar
expr=
"portal_preferences.getPreferredAccountingTransactionGap()+\'%\'"
type=
"string"
>
\n
</dtml-if>
\n
AND
<dtml-var
table_0
>
.base_category_uid =
<dtml-var
"portal_categories.gap.getUid()"
>
\n
AND
<dtml-var
table_0
>
.uid = catalog.uid
<dtml-var
RELATED_QUERY_SEPARATOR
>
\n
<dtml-var
table_0
>
.base_category_uid =
<dtml-var
"portal_categories.gap.getUid()"
>
\n
AND
<dtml-var
table_0
>
.uid =
<dtml-var
query_table
>
.uid
]]>
</string>
</value>
</item>
...
...
bt5/erp5_accounting/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_strict_membership_preferred_gap.xml
View file @
e64ea5de
...
...
@@ -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
RELATED_QUERY_SEPARATOR=" AND "\r\n
query_table="catalog"
</string>
</value>
</item>
<item>
<key>
<string>
connection_id
</string>
</key>
...
...
@@ -27,8 +29,9 @@ table_1</string> </value>
<dtml-if
expr=
"portal_preferences.getPreferredAccountingTransactionGap()"
>
\n
AND
<dtml-var
table_1
>
.relative_url LIKE
<dtml-sqlvar
expr=
"portal_preferences.getPreferredAccountingTransactionGap()+\'%\'"
type=
"string"
>
\n
</dtml-if>
\n
AND
<dtml-var
table_0
>
.base_category_uid =
<dtml-var
"portal_categories.gap.getUid()"
>
\n
AND
<dtml-var
table_0
>
.uid = catalog.uid\n
<dtml-var
RELATED_QUERY_SEPARATOR
>
\n
<dtml-var
table_0
>
.base_category_uid =
<dtml-var
"portal_categories.gap.getUid()"
>
\n
AND
<dtml-var
table_0
>
.uid =
<dtml-var
query_table
>
.uid\n
AND
<dtml-var
table_0
>
.category_strict_membership = 1\n
...
...
bt5/erp5_accounting/bt/revision
View file @
e64ea5de
1525
\ No newline at end of file
1526
\ 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