allura
修订版 | 879d114b45372189d41c0d6e3d618c365718940b (tree) |
---|---|
时间 | 2011-08-17 00:55:21 |
作者 | Dave Brondsema <dbrondsema@geek...> |
Commiter | Dave Brondsema |
remove incorrect sub_ids kwarg (older Ming version had a bug and ignored it)
Signed-off-by: Dave Brondsema <dbrondsema@geek.net>
@@ -82,7 +82,7 @@ class Globals(MappedClass): | ||
82 | 82 | def not_closed_mongo_query(self): |
83 | 83 | return dict( |
84 | 84 | status={'$in': list(self.set_of_open_status_names)}) |
85 | - | |
85 | + | |
86 | 86 | @property |
87 | 87 | def closed_query(self): |
88 | 88 | return ' or '.join(['status:'+name for name in self.set_of_closed_status_names]) |
@@ -217,7 +217,7 @@ class Ticket(VersionedArtifact): | ||
217 | 217 | created_date = FieldProperty(datetime, if_missing=datetime.utcnow) |
218 | 218 | |
219 | 219 | super_id = FieldProperty(schema.ObjectId, if_missing=None) |
220 | - sub_ids = FieldProperty([schema.ObjectId], if_missing=None) | |
220 | + sub_ids = FieldProperty([schema.ObjectId]) | |
221 | 221 | ticket_num = FieldProperty(int, required=True) |
222 | 222 | summary = FieldProperty(str) |
223 | 223 | description = FieldProperty(str, if_missing='') |