Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Genesys PGR
Genesys Backend
Commits
d7578958
Commit
d7578958
authored
Jul 16, 2018
by
Matija Obreza
Browse files
Use stored accession count on genebank page
parent
73caf02a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/genesys2/server/servlet/controller/WiewsController.java
View file @
d7578958
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment