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("<b>This marker is mentioned more than %d times</b><BR>\n", itemLimit); printf("The results would take too long to load in your browser and are " "therefore limited to %d articles.<P>\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("<H3>Snippets from Publications:</H3>"); struct sqlResult *sr = queryMarkerRows(conn, markerTable, articleTable, item, itemLimit, sectionList); char **row; while ((row = sqlNextRow(sr)) != NULL) { char *articleId = row[0]; char *url = row[1]; char *title = row[2]; char *authors = row[3];