branch | stable |
changeset 5503 | 5b7eb0839da3 |
parent 5426 | 0d4853a6e5ee |
child 5504 | 97ed78b54956 |
--- a/web/views/tableview.py Fri May 07 20:07:54 2010 +0200 +++ b/web/views/tableview.py Mon May 10 15:14:13 2010 +0200 @@ -224,7 +224,7 @@ # compute column header if headers is not None: label = headers[displaycols.index(colindex)] - if colindex == mainindex: + if colindex == mainindex and label is not None: label += ' (%s)' % self.cw_rset.rowcount column = TableColumn(label, colindex) coltype = self.cw_rset.description[0][colindex]