aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2021-05-06 19:54:48 +0000
committerzsloan2021-05-06 19:54:48 +0000
commit70735035fe7b59bae13fe955e4f32595055b3940 (patch)
tree750c8f6a73e459d5747f39e6e05ab6458b2f3c9c
parent6dc0c82ed93978be67357e0e84b6e5b3531054e6 (diff)
downloadgenenetwork2-70735035fe7b59bae13fe955e4f32595055b3940.tar.gz
Include group and species in form parameters for mapping results page, so they can be included in the loading page if the map is reloaded
-rw-r--r--wqflask/wqflask/templates/mapping_results.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/wqflask/wqflask/templates/mapping_results.html b/wqflask/wqflask/templates/mapping_results.html
index f054506c..73d7501b 100644
--- a/wqflask/wqflask/templates/mapping_results.html
+++ b/wqflask/wqflask/templates/mapping_results.html
@@ -17,8 +17,9 @@
<input type="hidden" name="temp_uuid" value="{{ temp_uuid }}">
{% if temp_trait is defined %}
<input type="hidden" name="temp_trait" value="{{ temp_trait }}">
- <input type="hidden" name="group" value="{{ group }}">
{% endif %}
+ <input type="hidden" name="group" value="{{ dataset.group.name }}">
+ <input type="hidden" name="species" value="{{ dataset.group.species }}">
<input type="hidden" name="trait_id" value="{{ this_trait.name }}">
<input type="hidden" name="dataset" value="{{ dataset.name }}">
<input type="hidden" name="genofile" value="{{ genofile_string }}">