Project

General

Profile

« Previous | Next » 

Revision 57155

Implementing summaries for collection, usage and broker

View differences:

DashboardServiceImpl.java
49 49
                    repositorySummaryInfo.setLogoURL(repository.getLogoUrl());
50 50

  
51 51
                    //TODO getRepositoryAggregations returns only the 20 more recent items. Is it positive that we will find an indexed version there?
52
                    List<AggregationDetails> aggregationDetailsList = repositoryService.getRepositoryAggregations(repository.getId());
52
                    List<AggregationDetails> aggregationDetailsList = repositoryService.getRepositoryAggregations(repository.getId(),20);
53 53
                    for(AggregationDetails aggregationDetails: aggregationDetailsList) {
54 54
                        if(aggregationDetails.getIndexedVersion()) {
55 55
                            repositorySummaryInfo.setRecordsCollected(aggregationDetails.getNumberOfRecords());

Also available in: Unified diff