aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2021-02-18 16:25:21 +0000
committerzsloan2021-02-18 16:25:21 +0000
commitfccbed3de9cd74ca2895c12ba1254957cbcca3fd (patch)
tree5d2d6bb9ceb5f48faa0e9c87da119db8a09f51c0 /wqflask
parent935d618da8986ad85292836f0762e435deb37108 (diff)
downloadgenenetwork2-fccbed3de9cd74ca2895c12ba1254957cbcca3fd.tar.gz
Fixed gen_menu to order ProbeSet datasets correctly - needed to remove DESC
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/api/gen_menu.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/wqflask/wqflask/api/gen_menu.py b/wqflask/wqflask/api/gen_menu.py
index 308e5c4c..e490054d 100644
--- a/wqflask/wqflask/api/gen_menu.py
+++ b/wqflask/wqflask/api/gen_menu.py
@@ -208,8 +208,7 @@ def build_datasets(species, group, type_name):
"AND ProbeSetFreeze.ProbeFreezeId = ProbeFreeze.Id "
"and Tissue.Name = '{2}' AND ProbeFreeze.TissueId = "
"Tissue.Id and ProbeFreeze.InbredSetId = InbredSet.Id "
- "ORDER BY ProbeSetFreeze.OrderList "
- "DESC").format(species, group, type_name)).fetchall()
+ "ORDER BY ProbeSetFreeze.OrderList ").format(species, group, type_name)).fetchall()
datasets = []
for dataset_info in results: