--- a/web/views/iprogress.py Wed Aug 12 18:40:52 2009 +0200
+++ b/web/views/iprogress.py Wed Aug 12 19:09:32 2009 +0200
@@ -59,7 +59,7 @@
def cell_call(self, row, col):
_ = self.req._
- entity = self.entity(row, col)
+ entity = self.rset.get_entity(row, col)
infos = {}
for col in self.columns:
meth = getattr(self, 'build_%s_cell' % col, None)
@@ -186,7 +186,7 @@
def cell_call(self, row, col):
self.req.add_css('cubicweb.iprogress.css')
- entity = self.entity(row, col)
+ entity = self.rset.get_entity(row, col)
widget = ProgressBarWidget(entity.done, entity.todo,
entity.revised_cost)
self.w(widget.render())