From e565f8718ec1eec1c26570c44c7c988d486b7bc9 Mon Sep 17 00:00:00 2001 From: zsloan Date: Sat, 30 Jan 2021 19:07:45 -0600 Subject: Changed dropdown menu to sort mRNA assay datasets by OrderList instead of CreateTime --- wqflask/wqflask/api/gen_menu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wqflask') 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 = [] -- cgit v1.2.3