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
420f068e
Commit
420f068e
authored
Jul 20, 2017
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
also reindex ERP5 Report in portal_skins
parent
891e625b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_reindexAll.py
...emplateItem/portal_skins/erp5_core/ERP5Site_reindexAll.py
+2
-2
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_reindexAll.py
View file @
420f068e
...
@@ -135,8 +135,8 @@ for folder in tool_list:
...
@@ -135,8 +135,8 @@ for folder in tool_list:
stop_tree
=
stop_tree
,)
stop_tree
=
stop_tree
,)
# Then we index ERP5 Python Scripts and ERP5 Form
# Then we index ERP5 Python Scripts and ERP5 Form
print
"#### Indexing ERP5 Python Scripts
and ERP5 Form
s ####"
print
"#### Indexing ERP5 Python Scripts
, ERP5 Forms and ERP5 Report
s ####"
for
_
,
obj
in
portal
.
portal_skins
.
ZopeFind
(
portal
.
portal_skins
,
obj_metatypes
=
(
'ERP5 Python Script'
,
'ERP5 Form'
),
search_sub
=
1
):
for
_
,
obj
in
portal
.
portal_skins
.
ZopeFind
(
portal
.
portal_skins
,
obj_metatypes
=
(
'ERP5 Python Script'
,
'ERP5 Form'
,
'ERP5 Report'
),
search_sub
=
1
):
obj
.
activate
(
tag
=
folder_tag
,
obj
.
activate
(
tag
=
folder_tag
,
priority
=
object_priority
,
priority
=
object_priority
,
after_tag
=
folder_after_tag
).
immediateReindexObject
(
sql_catalog_id
=
sql_catalog_id
)
after_tag
=
folder_after_tag
).
immediateReindexObject
(
sql_catalog_id
=
sql_catalog_id
)
...
...
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