Use Prev/Next pagination for exploring projects
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
Showing
... | ... | @@ -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' | ||
... | ... |
app/helpers/pagination_helper.rb
0 → 100644
spec/helpers/pagination_helper_spec.rb
0 → 100644
Please
register
or
sign in
to comment