NIHVIVO-2458 Continue work on solr search controller
This commit is contained in:
parent
78f966eb0f
commit
b20e04c290
1 changed files with 2 additions and 2 deletions
|
@ -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>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue