From fccbed3de9cd74ca2895c12ba1254957cbcca3fd Mon Sep 17 00:00:00 2001 From: zsloan Date: Thu, 18 Feb 2021 16:25:21 +0000 Subject: Fixed gen_menu to order ProbeSet datasets correctly - needed to remove DESC --- wqflask/wqflask/api/gen_menu.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'wqflask') 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: -- cgit v1.2.3