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
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
Bryan Kaperick
erp5
Commits
1ac0a29c
Commit
1ac0a29c
authored
Sep 21, 2017
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! Folder_generateWorkflowReport: Use select_dict to alias select function
parent
5c08772f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_generateWorkflowReport.py
...m/portal_skins/erp5_core/Folder_generateWorkflowReport.py
+3
-1
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_generateWorkflowReport.py
View file @
1ac0a29c
...
@@ -32,7 +32,9 @@ if use_selection:
...
@@ -32,7 +32,9 @@ if use_selection:
selection_kw
=
portal
.
portal_selections
.
getSelectionParamsFor
(
selection_name
).
copy
()
selection_kw
=
portal
.
portal_selections
.
getSelectionParamsFor
(
selection_name
).
copy
()
selection_kw
.
pop
(
'limit'
,
None
)
selection_kw
.
pop
(
'limit'
,
None
)
search_folder_kw
[
'query'
]
=
portal
.
portal_catalog
.
getSQLCatalog
().
buildQuery
(
selection_kw
)
search_folder_kw
[
'query'
]
=
portal
.
portal_catalog
.
getSQLCatalog
().
buildQuery
(
selection_kw
)
for
line
in
context
.
searchFolder
(
group_by
=
column_list
,
select_dict
=
{
'count'
:
'count(*)'
}
+
column_list
,
**
search_folder_kw
):
select_dict
=
dict
.
fromkeys
(
column_list
)
select_dict
[
'count'
]
=
'count(*)'
for
line
in
context
.
searchFolder
(
group_by
=
column_list
,
select_dict
=
select_dict
,
**
search_folder_kw
):
portal_type
=
line
.
portal_type
portal_type
=
line
.
portal_type
count
=
line
.
count
count
=
line
.
count
for
state_variable
in
state_variable_set
:
for
state_variable
in
state_variable_set
:
...
...
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