diff --git a/extra/modules/root.py b/extra/modules/root.py index 7410e72..b561207 100644 --- a/extra/modules/root.py +++ b/extra/modules/root.py @@ -69,6 +69,9 @@ def category_get_limit(self): return 7 Category.get_limit = category_get_limit +Category.TEXT_ATTRIBUTES = ['name', 'url_name', 'description', 'homepage_position'] +Category.INT_ATTRIBUTES = ['position', 'limit'] + class FormsRootDirectory(wcs.forms.root.RootDirectory):