diff --git a/VERSION b/VERSION index 99b59b75..27c6a4d7 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.7.4-stable+timestamp.2013.10.20.22.54.26 +Version 2.7.4-stable+timestamp.2013.10.21.14.31.25 diff --git a/gluon/dal.py b/gluon/dal.py index 6f4b6f19..152ebe2f 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -10658,6 +10658,7 @@ class Rows(object): for row in self: drows[row.id] = row row[children_name] = [] + for row in self: parent = row[parent_name] if parent is None: roots.append(row)