equal
deleted
inserted
replaced
160 class RQLExpression(AnyEntity): |
160 class RQLExpression(AnyEntity): |
161 __regid__ = 'RQLExpression' |
161 __regid__ = 'RQLExpression' |
162 fetch_attrs, fetch_order = fetch_config(['exprtype', 'mainvars', 'expression']) |
162 fetch_attrs, fetch_order = fetch_config(['exprtype', 'mainvars', 'expression']) |
163 |
163 |
164 def dc_title(self): |
164 def dc_title(self): |
|
165 return self.expression or u'' |
|
166 |
|
167 def dc_long_title(self): |
165 return '%s(%s)' % (self.exprtype, self.expression or u'') |
168 return '%s(%s)' % (self.exprtype, self.expression or u'') |
166 |
169 |
167 @property |
170 @property |
168 def expression_of(self): |
171 def expression_of(self): |
169 for rel in ('read_permission', 'add_permission', 'delete_permission', |
172 for rel in ('read_permission', 'add_permission', 'delete_permission', |