summaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2017-08-10 15:01:38 +0200
committerYorick Peterse <yorickpeterse@gmail.com>2017-08-14 13:53:42 +0200
commitc1f9403e45e636651010929b6113add34f8e6a8a (patch)
tree1f4dba647c4de1f43b01082c71fd70884c7ec54e /Gemfile
parent21a6898b10ed75f6260e72467b9e1f839d48456c (diff)
downloadgitlab-ce-c1f9403e45e636651010929b6113add34f8e6a8a.tar.gz
Use Prev/Next pagination for exploring projectspagination-projects-explore
This changes the pagination of the "Explore" pages so they use a simpler pagination system that only shows "Prev" and "Next" buttons. This removes the need for getting the total number of rows to display, a process that can easily take up to 2 seconds when browsing through a large list of projects. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/27390
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Gemfile b/Gemfile
index a768fa428bf..93363edf66e 100644
--- a/Gemfile
+++ b/Gemfile
@@ -84,7 +84,7 @@ gem 'rack-cors', '~> 0.4.0', require: 'rack/cors'
gem 'hashie-forbidden_attributes'
# Pagination
-gem 'kaminari', '~> 0.17.0'
+gem 'kaminari', '~> 1.0'
# HAML
gem 'hamlit', '~> 2.6.1'