Commit fc6c4de4 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_erp5: Ensure destination_project and source_project behaves the same.

parent d95ac22d
...@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment