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
committerJose Ivan Vargas <jvargas@gitlab.com>2017-08-18 19:51:37 +0300
commit0d959713a370ec880e55815275dbabdb3d5a03e1 (patch)
tree5baf2afed04c3f9db26c7d56b8001594c92598cb /app
parent3cb4352b0141d6471cfedffb646ecd4ff6d42b9a (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");