aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/show_trait
diff options
context:
space:
mode:
Diffstat (limited to 'gn2/wqflask/show_trait')
-rw-r--r--gn2/wqflask/show_trait/SampleList.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gn2/wqflask/show_trait/SampleList.py b/gn2/wqflask/show_trait/SampleList.py
index 64909d6e..200ff793 100644
--- a/gn2/wqflask/show_trait/SampleList.py
+++ b/gn2/wqflask/show_trait/SampleList.py
@@ -132,7 +132,8 @@ class SampleList:
"CaseAttribute, CaseAttributeXRefNew WHERE "
"CaseAttributeXRefNew.CaseAttributeId = CaseAttribute.CaseAttributeId "
"AND CaseAttributeXRefNew.InbredSetId = %s "
- "ORDER BY CaseAttribute.CaseAttributeId", (str(self.dataset.group.id),)
+ "AND CaseAttribute.InbredSetId = %s "
+ "ORDER BY CaseAttribute.CaseAttributeId", (str(self.dataset.group.id),str(self.dataset.group.id))
)
self.attributes = {}