diff --git a/lib/typesense/pagination/pagy.rb b/lib/typesense/pagination/pagy.rb index f7ce0e3..817a2a1 100644 --- a/lib/typesense/pagination/pagy.rb +++ b/lib/typesense/pagination/pagy.rb @@ -10,7 +10,7 @@ def self.create(results, total_hits, options = {}) vars = { count: total_hits, page: options[:page], - items: options[:per_page] + limit: options[:per_page] } pagy_version = Gem::Version.new(::Pagy::VERSION)