e359dec8e2174a7d00c0d37153e59c81756208a9
max
Mon Feb 27 11:07:32 2012 -0800
lowered maximum for t2g article snippet view
diff --git src/hg/hgc/t2g.c src/hg/hgc/t2g.c
index 129d548..8e596d3 100644
--- src/hg/hgc/t2g.c
+++ src/hg/hgc/t2g.c
@@ -132,31 +132,31 @@
{
char query[4000];
safef(query, sizeof(query), "SELECT COUNT(*) from %s WHERE markerId='%s' AND section in (%s) ", markerTable, item, sectionList);
if (sqlNeedQuickNum(conn, query) > itemLimit)
{
printf("This marker is mentioned more than %d times
\n", itemLimit);
printf("The results would take too long to load in your browser and are "
"therefore limited to %d articles.
\n", itemLimit); } } static void printMarkerSnippets(struct sqlConnection *conn, char* articleTable, char* markerTable, char* item) { /* do not show more snippets than this limit */ -int itemLimit=4000; +int itemLimit=1000; printSectionCheckboxes(); char* sectionList = makeSqlMarkerList(); printLimitWarning(conn, markerTable, item, itemLimit, sectionList); printf("