# HG changeset patch # User Sylvain Thénault # Date 1269332382 -3600 # Node ID 20bffbba7a5a398424c9e966f4b24ca49fc4c676 # Parent 0ad18e41053ac5881128bd7d279ed91dd7799160 don't use optional on final relation diff -r 0ad18e41053a -r 20bffbba7a5a web/views/schema.py --- a/web/views/schema.py Mon Mar 22 16:33:29 2010 +0100 +++ b/web/views/schema.py Tue Mar 23 09:19:42 2010 +0100 @@ -247,7 +247,7 @@ self.w(u'

%s

' % _('Relations')) rset = self._cw.execute( 'Any R,C,TT,K,D,A,RN,TTN ORDERBY RN ' - 'WHERE A is CWRelation, A description D, A composite K?, ' + 'WHERE A is CWRelation, A description D, A composite K, ' 'A relation_type R, R name RN, A to_entity TT, TT name TTN, ' 'A cardinality C, A from_entity S, S eid %(x)s', {'x': entity.eid}) @@ -255,7 +255,7 @@ displaycols=range(6), mainindex=5) rset = self._cw.execute( 'Any R,C,TT,K,D,A,RN,TTN ORDERBY RN ' - 'WHERE A is CWRelation, A description D, A composite K?, ' + 'WHERE A is CWRelation, A description D, A composite K, ' 'A relation_type R, R name RN, A from_entity TT, TT name TTN, ' 'A cardinality C, A to_entity O, O eid %(x)s', {'x': entity.eid})