diff options
author | zsloan | 2021-01-30 19:07:45 -0600 |
---|---|---|
committer | zsloan | 2021-01-30 19:07:45 -0600 |
commit | e565f8718ec1eec1c26570c44c7c988d486b7bc9 (patch) | |
tree | 511f541e6e9f33b08a4385a3e83f031201aa0bb3 | |
parent | 9f12da2623c3ca9156300c825fe0f86ad08bb76e (diff) | |
download | genenetwork2-e565f8718ec1eec1c26570c44c7c988d486b7bc9.tar.gz |
Changed dropdown menu to sort mRNA assay datasets by OrderList instead of CreateTime
-rw-r--r-- | wqflask/wqflask/api/gen_menu.py | 2 |
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 = [] |