Commit 4bb32731 authored by Arthur Lutz's avatar Arthur Lutz
Browse files

fallback to null if no data is returned

parent 71e8d9f2cad6
......@@ -113,5 +113,5 @@ class StatGraph(EntityView):
(' HAVING STOP-START >= 20', _('Monthly'))):
self.w(u'<h2>%s</h2>' % label)
rset = self._cw.execute(rql % (constraint, constraint), {'e':entity.eid})
self.w(self._cw.view('plot', rset))
self.w(self._cw.view('plot', rset, 'null'))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment