Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Fixed: [PAGY] the :client_max_limit option is deprecated: use :max_l… (#13890)

Damian Legawiecb1bd20b71957
diff --git a/spree/api/config/initializers/pagy.rb b/spree/api/config/initializers/pagy.rb
index 96e7ddadde..06e0ea91e4 100644
--- a/spree/api/config/initializers/pagy.rb
+++ b/spree/api/config/initializers/pagy.rb
@@ -5,4 +5,4 @@
Pagy::OPTIONS[:limit] = 25
# Maximum number of items per page
-Pagy::OPTIONS[:client_max_limit] = 100
+Pagy::OPTIONS[:max_limit] = 100