src/hg/lib/hdb.c 1.421

1.421 2010/03/18 23:55:31 braney
remove slReverse to fix problem with menus in hgTables being in the opposite order. Used to be that pruneEmpties ended up flipping the list
Index: src/hg/lib/hdb.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/lib/hdb.c,v
retrieving revision 1.420
retrieving revision 1.421
diff -b -B -U 4 -r1.420 -r1.421
--- src/hg/lib/hdb.c	5 Mar 2010 21:42:21 -0000	1.420
+++ src/hg/lib/hdb.c	18 Mar 2010 23:55:31 -0000	1.421
@@ -3476,9 +3476,13 @@
         {
         addTrackIfDataAccessible(db, tdb, chrom, privateHost, &newList);
 	}
     }
-slReverse(&newList);
+/* remove slReverse to fix problem with menus in hgTables 
+ * being in the opposite order.  Used to be that pruneEmpties
+ * ended up flipping the list
+ */
+// slReverse(&newList);
 return newList;
 }
 
 static struct trackDb *rFindTrack(int level, struct trackDb *tdbList, char *track)