4db6c6909dff3a4285d8a86cfd661bd4e6763eee
max
Wed May 2 15:54:53 2012 -0700
lowering limit for hgc pubs track, redmine #7836
diff --git src/hg/hgc/pubs.c src/hg/hgc/pubs.c
index 6b9425c..1baffc6 100644
--- src/hg/hgc/pubs.c
+++ src/hg/hgc/pubs.c
@@ -309,31 +309,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=1000; +int itemLimit=100; printSectionCheckboxes(); char *sectionList = makeSqlMarkerList(); printLimitWarning(conn, markerTable, item, itemLimit, sectionList); printf("