why not columns, too ? stable
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Tue, 25 Aug 2009 19:40:20 +0200
branchstable
changeset 2994 88c578819ac1
parent 2930 d7c23b2c7538
child 2995 4ef565c1d183
why not columns, too ?
web/views/iprogress.py
--- a/web/views/iprogress.py	Thu Aug 20 17:57:31 2009 +0200
+++ b/web/views/iprogress.py	Tue Aug 25 19:40:20 2009 +0200
@@ -167,10 +167,10 @@
     """
     id = 'ic_progress_table_view'
 
-    def call(self):
+    def call(self, columns=None):
         view = self.vreg['views'].select('progress_table_view', self.req,
                                          rset=self.rset)
-        columns = list(view.columns)
+        columns = list(columns or view.columns)
         try:
             columns.remove('project')
         except ValueError: