db().select().as_trees()

This commit is contained in:
mdipierro
2013-10-20 22:55:17 -05:00
parent d879e4a560
commit 665f728946
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.7.4-stable+timestamp.2013.10.20.22.50.07
Version 2.7.4-stable+timestamp.2013.10.20.22.54.26
+1 -1
View File
@@ -10652,7 +10652,7 @@ class Rows(object):
return dict([(key(r),r) for r in rows])
def as_tree(self, parent_name='parent_id', children_name='children'):
def as_trees(self, parent_name='parent_id', children_name='children'):
roots = []
drows = {}
for row in self: