entities/schemaobjs.py
changeset 5224 34e669b6fd95
parent 5030 5238d9a8dfee
child 5239 471554b842d2
--- a/entities/schemaobjs.py	Tue Apr 13 12:19:24 2010 +0200
+++ b/entities/schemaobjs.py	Tue Apr 13 13:21:10 2010 +0200
@@ -162,6 +162,9 @@
     fetch_attrs, fetch_order = fetch_config(['exprtype', 'mainvars', 'expression'])
 
     def dc_title(self):
+        return self.expression or u''
+
+    def dc_long_title(self):
         return '%s(%s)' % (self.exprtype, self.expression or u'')
 
     @property