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' | ... | @@ -84,7 +84,7 @@ gem 'rack-cors', '~> 0.4.0', require: 'rack/cors' |
gem 'hashie-forbidden_attributes' | gem 'hashie-forbidden_attributes' | ||
# Pagination | # Pagination | ||
gem 'kaminari', '~> 0.17.0' | gem 'kaminari', '~> 1.0' | ||
# HAML | # HAML | ||
gem 'hamlit', '~> 2.6.1' | gem 'hamlit', '~> 2.6.1' | ||
... | ... |
Please register or sign in to comment