diff options
Diffstat (limited to 'sugar_network_webui/cursors.py')
-rw-r--r-- | sugar_network_webui/cursors.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sugar_network_webui/cursors.py b/sugar_network_webui/cursors.py index 52462b8..f129188 100644 --- a/sugar_network_webui/cursors.py +++ b/sugar_network_webui/cursors.py @@ -25,36 +25,36 @@ class Mount: self.Contexts = self.client.Context.cursor( type=["activity", "project"], reply=['guid', 'type', 'title', 'author', 'summary', - 'description', 'favorite', 'clone', 'mtime'], + 'description', 'layer', 'mtime'], order_by='-mtime') self.autocomplete_Contexts = self.client.Context.cursor( reply=['guid', 'title'], order_by='-mtime') self.Projects = self.client.Context.cursor(type='project', reply=['guid', 'type', 'title', 'author', 'summary', - 'description', 'favorite', 'clone', 'mtime'], + 'description', 'layer', 'mtime'], order_by='-mtime') self.Activities = self.client.Context.cursor(type='activity', reply=['guid', 'type', 'title', 'author', 'summary', - 'description', 'favorite', 'clone', 'mtime'], + 'description', 'layer', 'mtime'], order_by='-mtime') else: self.Contexts = self.client.Context.cursor( - clone=clone, + layer='clone', reply=['guid', 'type', 'title', 'author', 'summary', - 'description', 'favorite', 'clone', 'mtime'], + 'description', 'layer', 'mtime'], order_by='-mtime') self.autocomplete_Contexts = self.client.Context.cursor( - clone=clone, + layer='clone', reply=['guid', 'title'], order_by='-mtime') self.Projects = self.client.Context.cursor(type='project', reply=['guid', 'type', 'title', 'author', 'summary', - 'description', 'favorite', 'clone', 'mtime'], + 'description', 'layer', 'mtime'], order_by='-mtime') self.Activities = self.client.Context.cursor(type='activity', - clone=clone, + layer='clone', reply=['guid', 'type', 'title', 'author', 'summary', - 'description', 'favorite', 'clone', 'mtime'], + 'description', 'layer', 'mtime'], order_by='-mtime') self.Questions = self.client.Feedback.cursor(type="question", @@ -85,4 +85,4 @@ class Mount: network_mount = Mount() -home_mount = Mount(clone=2) +home_mount = Mount(True) |