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

Use stored accession count on genebank page

parent 73caf02a
......@@ -173,7 +173,7 @@ public class WiewsController extends BaseController {
model.addAttribute("blurp", contentService.getArticle(faoInstitute, "blurp", getLocale()));
model.addAttribute("countByInstitute", genesysService.countByInstitute(faoInstitute));
model.addAttribute("countByInstitute", faoInstitute.getAccessionCount());
long datasetCount = genesysService.countDatasets(faoInstitute);
model.addAttribute("datasetCount", datasetCount);
Supports Markdown
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