--- a/web/views/primary.py Tue Sep 14 15:33:28 2010 +0200
+++ b/web/views/primary.py Tue Sep 14 15:35:42 2010 +0200
@@ -234,10 +234,7 @@
if section == where:
matchtschemas.append(tschema)
if matchtschemas:
- # XXX pick the latest dispctrl
- dispctrl = self.display_ctrl.etype_get(eschema, rschema, role,
- matchtschemas[-1])
-
+ dispctrl = self.display_ctrl.etype_get(eschema, rschema, role, '*')
rdefs.append( (rschema, matchtschemas, role, dispctrl) )
return sorted(rdefs, key=lambda x: x[-1]['order'])