src/hg/instinct/bioInt2/bioController.c 1.10

1.10 2009/05/27 19:31:34 sbenz
forced order by id in analyses
Index: src/hg/instinct/bioInt2/bioController.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/instinct/bioInt2/bioController.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -b -B -U 4 -r1.9 -r1.10
--- src/hg/instinct/bioInt2/bioController.c	30 Apr 2009 19:54:28 -0000	1.9
+++ src/hg/instinct/bioInt2/bioController.c	27 May 2009 19:31:34 -0000	1.10
@@ -305,9 +305,9 @@
 struct biAnalysis *ba, *baList = NULL;
 
 char query[128];
 safef(query, sizeof(query), 
-      "select * from %s where cohort_id = %d",
+      "select * from %s where cohort_id = %d order by id",
       AN_TABLE, cohort_id);
 
 struct analyses *an, *anList = analysesLoadByQuery(biConn, query);