diff --git a/panoramix/templates/panoramix/explore.html b/panoramix/templates/panoramix/explore.html
index 40e7bb2f230d1..9f9793a433543 100644
--- a/panoramix/templates/panoramix/explore.html
+++ b/panoramix/templates/panoramix/explore.html
@@ -36,6 +36,13 @@
query
0 sec
+
+
+
+
+ .csv
+ .json
+
@@ -229,6 +236,12 @@
Query
$('legend').click(function () {
toggle_fieldset($(this), true);
});
+ $('#json').click(function () {
+ window.location = '{{ viz.json_endpoint | safe }}';
+ });
+ $('#csv').click(function () {
+ window.location = '{{ viz.csv_endpoint | safe }}';
+ });
$("#viz_type").change(function() {$("#query").submit();});
collapsed_fieldsets = get_collapsed_fieldsets();
for(var i=0; i