Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2017-08-16 19:28:39 +0300
committerTim Zallmann <tzallmann@gitlab.com>2017-08-16 19:28:39 +0300
commit22f452d04954a67d5b76f601803e294089bd9658 (patch)
treec3cce3968391c1c1d2e080a39a92b2d763e13aa5 /app
parent374cdda3c0072218126f717f85f321b566a3262f (diff)
parent138f07ada72e27e4ffa31ef303d74183168bfdaa (diff)
Merge branch 'commits-list-page-limit' into 'master'
Fix commit list request appending 40 to offset Closes #36569 and #36563 See merge request !13603
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/commits.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/commits.js b/app/assets/javascripts/commits.js
index 2b0bf49cf92..047544b1762 100644
--- a/app/assets/javascripts/commits.js
+++ b/app/assets/javascripts/commits.js
@@ -17,7 +17,7 @@ window.CommitsList = (function() {
}
});
- Pager.init(limit, false, false, this.processCommits);
+ Pager.init(parseInt(limit, 10), false, false, this.processCommits);
this.content = $("#commits-list");
this.searchField = $("#commits-search");