web/views/autoform.py
branchtls-sprint
changeset 1721 694f6a50e138
parent 1702 312310ed8a2f
child 1723 30c3a713ab61
--- a/web/views/autoform.py	Mon May 11 11:01:40 2009 +0200
+++ b/web/views/autoform.py	Mon May 11 11:20:38 2009 +0200
@@ -72,7 +72,8 @@
                             category = 'secondary'
                         else:
                             category = 'generic'
-                        cls.rcategories.tag_relation(category, (X, rschema, Y), role)
+                        cls.rcategories.tag_relation((X, rschema, Y, category,
+                                                      tagged=role)
 
     @classmethod
     def erelations_by_category(cls, entity, categories=None, permission=None, rtags=None):