cubicweb/web/views/uicfg.py
branch3.26
changeset 12423 807fd315ac98
parent 12213 1d7e4f98f902
child 12567 26744ad37953
child 12875 1dc4f480ba1a
--- a/cubicweb/web/views/uicfg.py	Wed Jun 06 14:20:16 2018 +0200
+++ b/cubicweb/web/views/uicfg.py	Wed Jun 06 18:37:16 2018 +0200
@@ -233,7 +233,7 @@
             for key in list(self._tagdefs):
                 stype, rtype, otype, role = key
                 rschema = schema.rschema(rtype)
-                if stype == '*' and stype == '*':
+                if stype == '*' and otype == '*':
                     concrete_rdefs = rschema.rdefs.keys()
                 elif stype == '*':
                     concrete_rdefs = zip(rschema.subjects(otype), repeat(otype))