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
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Rafael Monnerat
slapos.core
Commits
fc6c4de4
Commit
fc6c4de4
authored
Nov 05, 2024
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_erp5: Ensure destination_project and source_project behaves the same.
parent
d95ac22d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/ERP5Type_asSecurityGroupIdSet.py
...portal_skins/slapos_core/ERP5Type_asSecurityGroupIdSet.py
+3
-0
No files found.
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/ERP5Type_asSecurityGroupIdSet.py
View file @
fc6c4de4
...
@@ -6,6 +6,9 @@ def handleSort(_category_dict):
...
@@ -6,6 +6,9 @@ def handleSort(_category_dict):
if
_category_dict
.
keys
()
==
[
'function'
,
'source_project'
]:
if
_category_dict
.
keys
()
==
[
'function'
,
'source_project'
]:
return
[
'source_project'
,
'function'
]
return
[
'source_project'
,
'function'
]
if
_category_dict
.
keys
()
==
[
'function'
,
'destination_project'
]:
return
[
'destination_project'
,
'function'
]
# Enforce return list in case
# Enforce return list in case
return
list
(
_category_dict
)
return
list
(
_category_dict
)
...
...
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