NIHVIVO-2458 Continue work on solr search controller

This commit is contained in:
ryounes 2011-05-05 02:32:08 +00:00
parent 78f966eb0f
commit b20e04c290

View file

@ -283,9 +283,9 @@ public class SolrPagedSearchController extends FreemarkerHttpServlet {
long lastHitToShow = 0;
if ((startIndex + hitsPerPage) > hitCount ) {
lastHitToShow = hitCount - 1;
lastHitToShow = hitCount;
} else {
lastHitToShow = startIndex + hitsPerPage - 1;
lastHitToShow = startIndex + hitsPerPage;
}
List<Individual> individuals = new LinkedList<Individual>();