won't get anything useful like this (currently, list of constraint's eids), should use a custom table view (later...) stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 02 Jul 2009 10:26:14 +0200
branchstable
changeset 2231 d2052c3ccac7
parent 2230 45d670c00fe1
child 2233 bf3603caaf0d
won't get anything useful like this (currently, list of constraint's eids), should use a custom table view (later...)
web/views/schema.py
--- a/web/views/schema.py	Thu Jul 02 10:21:00 2009 +0200
+++ b/web/views/schema.py	Thu Jul 02 10:26:14 2009 +0200
@@ -82,11 +82,10 @@
     def cell_call(self, row, col):
         entity = self.entity(row, col)
         self.w(u'<h2>%s</h2>' % _('Attributes'))
-        rset = self.req.execute('Any N,F,D,GROUP_CONCAT(C),I,J,DE,A '
-                                'GROUPBY N,F,D,AA,A,I,J,DE '
+        rset = self.req.execute('Any N,F,D,I,J,DE,A '
                                 'ORDERBY AA WHERE A is CWAttribute, '
                                 'A ordernum AA, A defaultval D, '
-                                'A constrained_by C?, A description DE, '
+                                'A description DE, '
                                 'A fulltextindexed I, A internationalizable J, '
                                 'A relation_type R, R name N, '
                                 'A to_entity O, O name F, '