src/hg/hgTables/schema.c 1.63

1.63 2010/04/12 18:16:48 kent
Some more progress in making makeItems tracks work in table browser. Selected fields output now works. Filter puts up UI, but filter is still ignored.
Index: src/hg/hgTables/schema.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTables/schema.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -b -B -U 4 -r1.62 -r1.63
--- src/hg/hgTables/schema.c	11 Apr 2010 21:55:27 -0000	1.62
+++ src/hg/hgTables/schema.c	12 Apr 2010 18:16:48 -0000	1.63
@@ -522,17 +522,17 @@
 struct asObject *asObj = asParseText(makeItemsItemAutoSqlString);
 struct sqlConnection *conn = hAllocConn(CUSTOM_TRASH);
 char *table = ct->dbTableName;
 
-hPrintf("<B>Genome Database:</B> %s", db);
+hPrintf("<B>Genome Database:</B> %s ", db);
 hPrintf("<B>Track ID:</B> %s ", trackId);
 hPrintf("<B>MySQL table:</B> %s", table); 
 hPrintf("&nbsp;&nbsp;&nbsp;&nbsp;<B>Row Count:</B> ");
 printLongWithCommas(stdout, sqlTableSize(conn, table));
 hPrintf("<BR>\n");
 if (asObj != NULL)
     hPrintf("<B>Format description:</B> %s<BR>", asObj->comment);
-describeFields(db, table, asObj, conn);
+describeFields(CUSTOM_TRASH, table, asObj, conn);
 
 webNewSection("Sample Rows");
 printSampleRows(10, conn, ct->dbTableName);
 printTrackHtml(ct->tdb);