Commit aa905b21 authored by Matija Obreza's avatar Matija Obreza
Browse files

Fixed crop page: hasNextPage() renamed to hasNext()

parent 471ea4dd
......@@ -52,7 +52,7 @@
<c:forEach items="${cropTaxonomies.content}" var="cropTaxonomy" varStatus="status">
<li class="${status.count % 2 == 0 ? 'even' : 'odd'}"><a href="<c:url value="/acn/t/${cropTaxonomy.taxonomy.genus}/${cropTaxonomy.taxonomy.species}" />"><c:out value="${cropTaxonomy.taxonomy.taxonName}" /></a></li>
</c:forEach>
<c:if test="${cropTaxonomies.hasNextPage()}">
<c:if test="${cropTaxonomies.hasNext()}">
<li id="loadMoreTaxonomies"><button class="btn">Load more...</button></li>
</c:if>
</ul>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment