80 __select__ = EntityView.__select__ & implements('CWEType') |
80 __select__ = EntityView.__select__ & implements('CWEType') |
81 |
81 |
82 def cell_call(self, row, col): |
82 def cell_call(self, row, col): |
83 entity = self.entity(row, col) |
83 entity = self.entity(row, col) |
84 self.w(u'<h2>%s</h2>' % _('Attributes')) |
84 self.w(u'<h2>%s</h2>' % _('Attributes')) |
85 rset = self.req.execute('Any N,F,D,GROUP_CONCAT(C),I,J,DE,A ' |
85 rset = self.req.execute('Any N,F,D,I,J,DE,A ' |
86 'GROUPBY N,F,D,AA,A,I,J,DE ' |
|
87 'ORDERBY AA WHERE A is CWAttribute, ' |
86 'ORDERBY AA WHERE A is CWAttribute, ' |
88 'A ordernum AA, A defaultval D, ' |
87 'A ordernum AA, A defaultval D, ' |
89 'A constrained_by C?, A description DE, ' |
88 'A description DE, ' |
90 'A fulltextindexed I, A internationalizable J, ' |
89 'A fulltextindexed I, A internationalizable J, ' |
91 'A relation_type R, R name N, ' |
90 'A relation_type R, R name N, ' |
92 'A to_entity O, O name F, ' |
91 'A to_entity O, O name F, ' |
93 'A from_entity S, S eid %(x)s', |
92 'A from_entity S, S eid %(x)s', |
94 {'x': entity.eid}) |
93 {'x': entity.eid}) |