Skip to content

Commit

Permalink
Merge pull request #64 from jenkinsci/JENKINS-21600
Browse files Browse the repository at this point in the history
Fixed max number of history entries issue of JENKINS-21600.
  • Loading branch information
Jochen-A-Fuerbacher committed Aug 22, 2017
2 parents a94a5dc + b18a7f4 commit 702d833
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -134,8 +134,8 @@ public final List<ConfigInfo> getJobConfigs() throws IOException {
} else {
maxEntriesPerPage = values.size();
}
for (final HistoryDescr historyDescr : values.subList(0,
maxEntriesPerPage)) {
for (final HistoryDescr historyDescr : values
.subList(values.size() - maxEntriesPerPage, values.size())) {
final String timestamp = historyDescr.getTimestamp();
final XmlFile oldRevision = getHistoryDao().getOldRevision(project,
timestamp);
Expand Down

0 comments on commit 702d833

Please sign in to comment.