sort forms by name
This commit is contained in:
parent
44c4a5d359
commit
0091405133
|
@ -224,6 +224,7 @@ class RootDirectory(Directory):
|
|||
else:
|
||||
continue
|
||||
l.append(formdef)
|
||||
l.sort(lambda x,y: cmp(x.name, y.name))
|
||||
|
||||
cats = storage.get_storage().values('categories')
|
||||
cats.sort(lambda x,y: cmp(x.name, y.name))
|
||||
|
|
Loading…
Reference in New Issue