Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Group pagy with (legacy) will_paginate and remove version constraint

Kabiru Mwenjacfe3a2dbc8fd
diff --git a/Gemfile b/Gemfile
index d0e7961c366..76a0c4ac1be 100644
--- a/Gemfile
+++ b/Gemfile
@@ -55,6 +55,7 @@ gem "request_store", "~> 1.7.0"
gem "warden", "~> 1.2"
gem "warden-basic_auth", "~> 0.2.1"
+gem "pagy"
gem "will_paginate", "~> 4.0.0"
gem "friendly_id", "~> 5.5.0"
@@ -420,5 +421,3 @@ end
gem "openproject-octicons", "~>19.29.0"
gem "openproject-octicons_helper", "~>19.29.0"
gem "openproject-primer_view_components", "~>0.73.1"
-
-gem "pagy", "~> 9.3"
diff --git a/Gemfile.lock b/Gemfile.lock
index 7f307e05820..1d58120531c 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1119,7 +1119,7 @@ GEM
ostruct (0.6.3)
ox (2.14.23)
bigdecimal (>= 3.0)
- pagy (9.3.5)
+ pagy (9.4.0)
paper_trail (16.0.0)
activerecord (>= 6.1)
request_store (~> 1.4)
@@ -1711,7 +1711,7 @@ DEPENDENCIES
opentelemetry-sdk (~> 1.9)
overviews!
ox
- pagy (~> 9.3)
+ pagy
paper_trail (~> 16.0.0)
parallel_tests (~> 4.0)
pdf-inspector (~> 1.2)
@@ -2149,7 +2149,7 @@ CHECKSUMS
ostruct (0.6.3) sha256=95a2ed4a4bd1d190784e666b47b2d3f078e4a9efda2fccf18f84ddc6538ed912
overviews (1.0.0)
ox (2.14.23) sha256=4a9aedb4d6c78c5ebac1d7287dc7cc6808e14a8831d7adb727438f6a1b461b66
- pagy (9.3.5) sha256=78a9513150b96f872c092ab1cd95bb818ea29b2c417a4302290bc9293f8f0fd7
+ pagy (9.4.0) sha256=db3f2e043f684155f18f78be62a81e8d033e39b9f97b1e1a8d12ad38d7bce738
paper_trail (16.0.0) sha256=e9b9f0fb1b8b590c8231cfa931b282ba92f90e066e393930a5e1c61ae4c5019d
parallel (1.27.0) sha256=4ac151e1806b755fb4e2dc2332cbf0e54f2e24ba821ff2d3dcf86bf6dc4ae130
parallel_tests (4.10.1) sha256=df05458c691462b210f7a41fc2651d4e4e8a881e8190e6d1e122c92c07735d70
diff --git a/config/initializers/pagy.rb b/config/initializers/pagy.rb
index d13c0b2f494..b9901321dbd 100644
--- a/config/initializers/pagy.rb
+++ b/config/initializers/pagy.rb
@@ -105,7 +105,7 @@ require "pagy/extras/array"
# Keyset extra: Paginate with the Pagy keyset pagination technique
# See https://ddnexus.github.io/pagy/docs/extras/keyset
-require "pagy/extras/keyset"
+# require "pagy/extras/keyset"
# Meilisearch extra: Paginate `Meilisearch` result objects
# See https://ddnexus.github.io/pagy/docs/extras/meilisearch