aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2021-01-30 19:07:45 -0600
committerzsloan2021-01-30 19:07:45 -0600
commite565f8718ec1eec1c26570c44c7c988d486b7bc9 (patch)
tree511f541e6e9f33b08a4385a3e83f031201aa0bb3 /wqflask
parent9f12da2623c3ca9156300c825fe0f86ad08bb76e (diff)
downloadgenenetwork2-e565f8718ec1eec1c26570c44c7c988d486b7bc9.tar.gz
Changed dropdown menu to sort mRNA assay datasets by OrderList instead of CreateTime
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/api/gen_menu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/api/gen_menu.py b/wqflask/wqflask/api/gen_menu.py
index 1dcafe1f..308e5c4c 100644
--- a/wqflask/wqflask/api/gen_menu.py
+++ b/wqflask/wqflask/api/gen_menu.py
@@ -208,7 +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.CreateTime "
+ "ORDER BY ProbeSetFreeze.OrderList "
"DESC").format(species, group, type_name)).fetchall()
datasets = []