diff --git a/combo/apps/dataviz/templates/combo/chart-filters.html b/combo/apps/dataviz/templates/combo/chart-filters.html index 3d47d893..e8e5e4da 100644 --- a/combo/apps/dataviz/templates/combo/chart-filters.html +++ b/combo/apps/dataviz/templates/combo/chart-filters.html @@ -52,7 +52,8 @@ e.preventDefault(); $(window).trigger('combo:refresh-graphs'); chart_cell = $(this).parents('.cell'); - new_url = chart_cell.data('ajax-cell-url') + '?filters_cell_id=' + $('body').data('filters-cell-id') + '&' + $(this).serialize(); + ajax_cell_url = "{{ site_base }}{{ cell.get_ajax_url }}"; + new_url = ajax_cell_url + '?filters_cell_id=' + $('body').data('filters-cell-id') + '&' + $(this).serialize(); chart_cell.data('ajax-cell-url', new_url); }); });