web/views/autoform.py
branchtls-sprint
changeset 1533 bcd4bfff658b
parent 1528 864ae7c15ef5
child 1539 b0d583d30508
--- a/web/views/autoform.py	Wed Apr 29 09:27:03 2009 +0200
+++ b/web/views/autoform.py	Wed Apr 29 10:29:03 2009 +0200
@@ -70,7 +70,7 @@
                             category = 'secondary'
                         else:
                             category = 'generic'
-                        cls.rcategories.set_rtag(category, rschema, role, X, Y)
+                        cls.rcategories.add_relation(category, (X, rschema, Y), role)
 
     @classmethod
     def erelations_by_category(cls, entity, categories=None, permission=None, rtags=None):