[uicfg] Fix typo in set_fields_order
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 26 May 2016 15:37:28 +0200
changeset 11335 507ff9e71269
parent 11334 4f2382b08e32
child 11340 e68991426d7d
[uicfg] Fix typo in set_fields_order
cubicweb/web/views/uicfg.py
--- a/cubicweb/web/views/uicfg.py	Mon May 23 17:40:31 2016 +0200
+++ b/cubicweb/web/views/uicfg.py	Thu May 26 15:37:28 2016 +0200
@@ -141,7 +141,7 @@
             if role == 'subject':
                 self.tag_subject_of((etype, rtype, '*'), {'order': index})
             else:
-                self.tag_object_of((etype, rtype, '*'), {'order': index})
+                self.tag_object_of(('*', rtype, etype), {'order': index})
 
 
 primaryview_display_ctrl = DisplayCtrlRelationTags()