From 61786e5e95f500c774943adac3dce99907d2c4a4 Mon Sep 17 00:00:00 2001 From: zsloan Date: Wed, 1 Apr 2020 16:13:41 -0500 Subject: Forgot to rearrange search result page buttons in previous commit, plus fixed an issue where .csv was missing from some filenames --- wqflask/wqflask/templates/correlation_page.html | 2 +- wqflask/wqflask/templates/search_result_page.html | 16 +++++++++------- wqflask/wqflask/views.py | 2 +- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/wqflask/wqflask/templates/correlation_page.html b/wqflask/wqflask/templates/correlation_page.html index 829c5c29..9a259c2d 100644 --- a/wqflask/wqflask/templates/correlation_page.html +++ b/wqflask/wqflask/templates/correlation_page.html @@ -78,7 +78,7 @@ - + diff --git a/wqflask/wqflask/templates/search_result_page.html b/wqflask/wqflask/templates/search_result_page.html index 6fc19be1..22d8de50 100644 --- a/wqflask/wqflask/templates/search_result_page.html +++ b/wqflask/wqflask/templates/search_result_page.html @@ -112,12 +112,6 @@

- - - - - -
@@ -128,10 +122,18 @@ {% endif %} - + + + + + +


+
+ Show/Hide Columns: +
diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py index c4a1b85c..0fbe370d 100644 --- a/wqflask/wqflask/views.py +++ b/wqflask/wqflask/views.py @@ -381,7 +381,7 @@ def export_traits_csv(): return Response(csv_data, mimetype='text/csv', - headers={"Content-Disposition":"attachment;filename=" + file_name}) + headers={"Content-Disposition":"attachment;filename=" + file_name + ".csv"}) @app.route('/export_perm_data', methods=('POST',)) def export_perm_data(): -- cgit v1.2.3