diff options
author | Sebastian Silva <sebastian@somosazucar.org> | 2013-09-17 15:45:16 (GMT) |
---|---|---|
committer | Sebastian Silva <sebastian@somosazucar.org> | 2013-09-17 15:45:16 (GMT) |
commit | 11c9b543dcc2577f2ec9ea416b4422d9fbc3bc4b (patch) | |
tree | 7a3572fdfce62de1d3521162003ed34b0dad060b /sugar_network_webui/cursors.py | |
parent | 5ecbdba7aff3deff42177d1af1b38c716992e0a9 (diff) |
Changes to support backend polish by alsroot
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) |