dataviz: don't render anything for searches (#15409)

This commit is contained in:
Frédéric Péters 2017-03-13 16:47:36 +01:00
parent 97aee4d4f3
commit 02ce4fe96b
1 changed files with 4 additions and 0 deletions

View File

@ -219,6 +219,10 @@ class BaseCubesChart(CellBase):
raise NothingInCacheException()
return super(BaseCubesChart, self).render(context)
def render_for_search(self):
return ''
@register_cell_class
class CubesBarChart(BaseCubesChart):
template_name = 'combo/cubes-barchart.html'