Skip to content

Commit 1ffe302

Browse files
authored
Merge pull request #13 from stephannLKN/patch-1
Fix pagy config
2 parents c6a8cef + 5cf288d commit 1ffe302

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/typesense/pagination/pagy.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def self.create(results, total_hits, options = {})
1010
vars = {
1111
count: total_hits,
1212
page: options[:page],
13-
items: options[:per_page]
13+
limit: options[:per_page]
1414
}
1515

1616
pagy_version = Gem::Version.new(::Pagy::VERSION)

0 commit comments

Comments
 (0)