branch | tls-sprint |
changeset 1149 | 1e19b6ef53a1 |
parent 1134 | f885df228fc0 |
child 1150 | 2d1b721fded9 |
--- a/entities/__init__.py Thu Mar 26 18:59:56 2009 +0100 +++ b/entities/__init__.py Thu Mar 26 19:00:20 2009 +0100 @@ -310,6 +310,7 @@ tschema = rschema.subjects(cls.e_schema)[0] wdg = widget(cls.vreg, tschema, rschema, cls, 'object') return wdg + def relations_by_category(self, categories=None, permission=None): if categories is not None: if not isinstance(categories, (list, tuple, set, frozenset)):