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
09e4cdf3
Commit
09e4cdf3
authored
Jun 23, 2016
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trade: make child_resource_uid related key faster.
parent
2043baea
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
5 deletions
+2
-5
bt5/erp5_trade/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_child_resource.sql
...al_catalog/erp5_mysql_innodb/z_related_child_resource.sql
+0
-2
bt5/erp5_trade/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_child_resource.xml
...al_catalog/erp5_mysql_innodb/z_related_child_resource.xml
+0
-1
bt5/erp5_trade/CatalogRelatedKeyTemplateItem/related_key_list.xml
..._trade/CatalogRelatedKeyTemplateItem/related_key_list.xml
+1
-1
bt5/erp5_trade/bt/template_catalog_related_key_list
bt5/erp5_trade/bt/template_catalog_related_key_list
+1
-1
No files found.
bt5/erp5_trade/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_child_resource.sql
View file @
09e4cdf3
<
dtml
-
var
table_0
>
.
uid
=
<
dtml
-
var
table_1
>
.
uid
<
dtml
-
var
RELATED_QUERY_SEPARATOR
>
<
dtml
-
var
table_2
>
.
uid
=
<
dtml
-
var
table_1
>
.
category_uid
<
dtml
-
var
RELATED_QUERY_SEPARATOR
>
<
dtml
-
var
table_1
>
.
base_category_uid
=
<
dtml
-
var
"portal_categories.resource.getUid()"
>
AND
<
dtml
-
var
table_0
>
.
uid
=
<
dtml
-
var
table_1
>
.
uid
AND
<
dtml
-
var
table_0
>
.
parent_uid
=
<
dtml
-
var
query_table
>
.
uid
\ No newline at end of file
bt5/erp5_trade/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_child_resource.xml
View file @
09e4cdf3
...
...
@@ -10,7 +10,6 @@
<key>
<string>
arguments_src
</string>
</key>
<value>
<string>
table_0\r\n
table_1\r\n
table_2\r\n
RELATED_QUERY_SEPARATOR=" AND "\r\n
query_table="catalog"
</string>
</value>
</item>
...
...
bt5/erp5_trade/CatalogRelatedKeyTemplateItem/related_key_list.xml
View file @
09e4cdf3
<key_list>
<key>
child_resource_uid | catalog,category
,catalog/
uid/z_related_child_resource
</key>
<key>
child_resource_uid | catalog,category
/category_
uid/z_related_child_resource
</key>
</key_list>
\ No newline at end of file
bt5/erp5_trade/bt/template_catalog_related_key_list
View file @
09e4cdf3
child_resource_uid | catalog,category,catalog/uid/z_related_child_resource
\ No newline at end of file
child_resource_uid | catalog,category/category_uid/z_related_child_resource
\ 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