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
Titouan Soulard
slapos.core
Commits
9c9f7a4b
Commit
9c9f7a4b
authored
Sep 29, 2022
by
Romain Courteaud
🐸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_mysql_innodb_catalog: index Software Product Release Variation url_string
parent
53decddb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
5 deletions
+21
-5
master/bt5/slapos_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_email_list.sql
...portal_catalog/erp5_mysql_innodb/z_catalog_email_list.sql
+1
-1
master/bt5/slapos_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_email_list.xml
...portal_catalog/erp5_mysql_innodb/z_catalog_email_list.xml
+20
-4
No files found.
master/bt5/slapos_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_email_list.sql
View file @
9c9f7a4b
<
dtml
-
let
email_list
=
"[]"
>
<
dtml
-
let
email_list
=
"[]"
>
<
dtml
-
in
prefix
=
"loop"
expr
=
"_.range(_.len(uid))"
>
<
dtml
-
in
prefix
=
"loop"
expr
=
"_.range(_.len(uid))"
>
<
dtml
-
if
expr
=
"getPortalType[loop_item] in ['Email', 'Software Release', 'Software Installation', 'Software Instance', 'Instance Tree']"
>
<
dtml
-
if
expr
=
"getPortalType[loop_item] in ['Email', 'Software Release', 'Software
Product Release Variation', 'Software
Installation', 'Software Instance', 'Instance Tree']"
>
<
dtml
-
call
expr
=
"email_list.append(loop_item)"
>
<
dtml
-
call
expr
=
"email_list.append(loop_item)"
>
</
dtml
-
if
>
</
dtml
-
if
>
</
dtml
-
in
>
</
dtml
-
in
>
...
...
master/bt5/slapos_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_email_list.xml
View file @
9c9f7a4b
...
@@ -6,19 +6,35 @@
...
@@ -6,19 +6,35 @@
</pickle>
</pickle>
<pickle>
<pickle>
<dictionary>
<dictionary>
<item>
<key>
<string>
allow_simple_one_argument_traversal
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<item>
<key>
<string>
arguments_src
</string>
</key>
<key>
<string>
arguments_src
</string>
</key>
<value>
<string>
uid\
r\
n
<value>
<string>
uid\n
getUrlString\
r\
n
getUrlString\n
getPortalType
</string>
</value>
getPortalType
</string>
</value>
</item>
</item>
<item>
<key>
<string>
class_file_
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
class_name_
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<item>
<key>
<string>
connection_id
</string>
</key>
<key>
<string>
connection_id
</string>
</key>
<value>
<string>
erp5_sql_connection
</string>
</value>
<value>
<string>
erp5_sql_connection
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
expression
</string>
</key>
<key>
<string>
expression
</string>
</key>
<value>
<string>
python: context.getPortalType() in (\'Email\', \'Fax\', \'Telephone\', \'Software Release\', \'Software Installation\', \'Software Instance\', \'Instance Tree\')
</string>
</value>
<value>
<string>
python: context.getPortalType() in (\'Email\', \'Fax\', \'Telephone\', \'Software Release\', \'Software
Product Release Variation\', \'Software
Installation\', \'Software Instance\', \'Instance Tree\')
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
expression_cache_key
</string>
</key>
<key>
<string>
expression_cache_key
</string>
</key>
...
@@ -42,7 +58,7 @@ getPortalType</string> </value>
...
@@ -42,7 +58,7 @@ getPortalType</string> </value>
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
z_catalog_email_list
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
type
</string>
</key>
<key>
<string>
type
</string>
</key>
...
...
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