aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/search_results.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/search_results.py b/wqflask/wqflask/search_results.py
index 61970e7e..f8ecd178 100644
--- a/wqflask/wqflask/search_results.py
+++ b/wqflask/wqflask/search_results.py
@@ -112,7 +112,7 @@ class SearchResultPage:
trait_dict = {}
trait_dict['index'] = index + 1
- trait_dict['name'] = result[0]
+ trait_dict['name'] = result[2]
#ZS: Check permissions on a trait-by-trait basis for phenotype traits
if self.dataset.type == "Publish":