Commit 7bc98ea3 authored by Jérome Perrin's avatar Jérome Perrin

sort portal type group


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24030 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fcc1d144
......@@ -791,7 +791,7 @@ if USE_BASE_TYPE:
security.declareProtected(Permissions.AccessContentsInformation,
'getPortalTypeGroupList')
def getPortalTypeGroupList( self ):
return self.defined_group_list
return sorted(self.defined_group_list)
else:
class ERP5TypeInformation(ERP5TypeInformationMixIn):
......@@ -830,7 +830,7 @@ else:
security.declareProtected(Permissions.AccessContentsInformation,
'getGroupList')
def getGroupList( self ):
return self.defined_group_list
return sorted(self.defined_group_list)
InitializeClass( ERP5TypeInformation )
......
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