From 642c98f13c9cc4c2cf258eb960206dac79410b00 Mon Sep 17 00:00:00 2001
From: zsloan
Date: Thu, 19 Aug 2021 18:28:17 +0000
Subject: Fixed the way the drop-down for Filter by Value set values for the
case attributes
---
wqflask/wqflask/templates/show_trait_transform_and_filter.html | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/wqflask/wqflask/templates/show_trait_transform_and_filter.html b/wqflask/wqflask/templates/show_trait_transform_and_filter.html
index 8d21b0b0..5e6ed2cf 100644
--- a/wqflask/wqflask/templates/show_trait_transform_and_filter.html
+++ b/wqflask/wqflask/templates/show_trait_transform_and_filter.html
@@ -74,10 +74,12 @@
{% if js_data.se_exists %}
{% endif %}
- {% for attribute in numerical_var_list %}
+ {% for attribute in sample_groups[0].attributes %}
+ {% if sample_groups[0].attributes[attribute].name in numerical_var_list %}
+ {% endif %}
{% endfor %}
{% endif %}
--
cgit v1.2.3