diff --git a/oml/item/models.py b/oml/item/models.py index 8fc82de..1d431f2 100644 --- a/oml/item/models.py +++ b/oml/item/models.py @@ -141,6 +141,7 @@ class Item(db.Model): for key in self.array_keys: if key in j and not isinstance(j[key], list): j[key] = [j[key]] + j['sharemetadata'] = j.get('sharemetadata', False) return j def get_path(self):