Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xavier Thompson
slapos.core
Commits
2891cfb9
Commit
2891cfb9
authored
Dec 12, 2018
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_cloud: Replace where_expression by related key
parent
9f50d38b
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
81 additions
and
2 deletions
+81
-2
master/bt5/slapos_cloud/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_predecessor_but_with_different_title_than_catalog_title.catalog_keys.xml
..._with_different_title_than_catalog_title.catalog_keys.xml
+2
-0
master/bt5/slapos_cloud/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_predecessor_but_with_different_title_than_catalog_title.sql
...edecessor_but_with_different_title_than_catalog_title.sql
+5
-0
master/bt5/slapos_cloud/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_predecessor_but_with_different_title_than_catalog_title.xml
...edecessor_but_with_different_title_than_catalog_title.xml
+69
-0
master/bt5/slapos_cloud/CatalogRelatedKeyTemplateItem/related_key_list.xml
..._cloud/CatalogRelatedKeyTemplateItem/related_key_list.xml
+1
-0
master/bt5/slapos_cloud/bt/template_catalog_method_id_list
master/bt5/slapos_cloud/bt/template_catalog_method_id_list
+2
-1
master/bt5/slapos_cloud/bt/template_catalog_related_key_list
master/bt5/slapos_cloud/bt/template_catalog_related_key_list
+2
-1
No files found.
master/bt5/slapos_cloud/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_predecessor_but_with_different_title_than_catalog_title.catalog_keys.xml
0 → 100644
View file @
2891cfb9
<catalog_method>
</catalog_method>
master/bt5/slapos_cloud/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_predecessor_but_with_different_title_than_catalog_title.sql
0 → 100644
View file @
2891cfb9
<
dtml
-
var
table_1
>
.
uid
=
<
dtml
-
var
table_0
>
.
category_uid
AND
<
dtml
-
var
table_0
>
.
base_category_uid
=
<
dtml
-
var
"portal_categories.predecessor.getUid()"
>
<
dtml
-
var
RELATED_QUERY_SEPARATOR
>
<
dtml
-
var
table_1
>
.
title
<>
<
dtml
-
var
query_table
>
.
title
AND
<
dtml
-
var
table_0
>
.
uid
=
<
dtml
-
var
query_table
>
.
uid
\ No newline at end of file
master/bt5/slapos_cloud/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_predecessor_but_with_different_title_than_catalog_title.xml
0 → 100644
View file @
2891cfb9
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"SQL Method"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
allow_simple_one_argument_traversal
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
arguments_src
</string>
</key>
<value>
<string>
table_0\n
table_1\n
RELATED_QUERY_SEPARATOR=" AND "\n
query_table="catalog"
</string>
</value>
</item>
<item>
<key>
<string>
cache_time_
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
class_file_
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
class_name_
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
connection_hook
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
connection_id
</string>
</key>
<value>
<string>
erp5_sql_connection
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
z_related_predecessor_but_with_different_title_than_catalog_title
</string>
</value>
</item>
<item>
<key>
<string>
max_cache_
</string>
</key>
<value>
<int>
100
</int>
</value>
</item>
<item>
<key>
<string>
max_rows_
</string>
</key>
<value>
<int>
1000
</int>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
SQL Method
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
z_related_predecessor_but_with_different_title_than_catalog_title
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_cloud/CatalogRelatedKeyTemplateItem/related_key_list.xml
View file @
2891cfb9
<key_list>
<key>
causality_subscription_request_related_uid | category,catalog/uid/z_related_causality_subscription_request
</key>
<key>
related_predecessor_but_with_different_title_than_catalog_title | category,catalog/uid/z_related_predecessor_but_with_different_title_than_catalog_title
</key>
</key_list>
\ No newline at end of file
master/bt5/slapos_cloud/bt/template_catalog_method_id_list
View file @
2891cfb9
...
...
@@ -18,4 +18,5 @@ erp5_mysql_innodb/z_create_item
erp5_mysql_innodb/z_create_slapos_item
erp5_mysql_innodb/z_create_software_instance_tree
erp5_mysql_innodb/z_create_versioning
erp5_mysql_innodb/z_related_causality_subscription_request
\ No newline at end of file
erp5_mysql_innodb/z_related_causality_subscription_request
erp5_mysql_innodb/z_related_predecessor_but_with_different_title_than_catalog_title
\ No newline at end of file
master/bt5/slapos_cloud/bt/template_catalog_related_key_list
View file @
2891cfb9
causality_subscription_request_related_uid | category,catalog/uid/z_related_causality_subscription_request
\ No newline at end of file
causality_subscription_request_related_uid | category,catalog/uid/z_related_causality_subscription_request
related_predecessor_but_with_different_title_than_catalog_title | category,catalog/uid/z_related_predecessor_but_with_different_title_than_catalog_title
\ 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