fix once again the stats and translations
This commit is contained in:
@ -34,17 +34,17 @@ public class StatisticsService {
|
||||
|
||||
ArrayList<Iterable<Map<String,Integer>>> toReturn = new ArrayList<>();
|
||||
|
||||
toReturn.add(statsRepo.viewsByYears());
|
||||
toReturn.add(statsRepo.viewsByMonths());
|
||||
toReturn.add(statsRepo.viewsByTopics());
|
||||
toReturn.add(statsRepo.viewsByYears(researcher.getId()));
|
||||
toReturn.add(statsRepo.viewsByMonths(researcher.getId()));
|
||||
toReturn.add(statsRepo.viewsByTopics(researcher.getId()));
|
||||
|
||||
toReturn.add(statsRepo.researchesByYears());
|
||||
toReturn.add(statsRepo.researchesByMonth());
|
||||
toReturn.add(statsRepo.researchesByTopics());
|
||||
toReturn.add(statsRepo.researchesByYears(researcher.getId()));
|
||||
toReturn.add(statsRepo.researchesByMonth(researcher.getId()));
|
||||
toReturn.add(statsRepo.researchesByTopics(researcher.getId()));
|
||||
|
||||
toReturn.add(statsRepo.languageByYears());
|
||||
toReturn.add(statsRepo.languageByMonths());
|
||||
toReturn.add(statsRepo.languageByTopics());
|
||||
toReturn.add(statsRepo.languageByYears(researcher.getId()));
|
||||
toReturn.add(statsRepo.languageByMonths(researcher.getId()));
|
||||
toReturn.add(statsRepo.languageByTopics(researcher.getId()));
|
||||
return toReturn;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user