Skip to content
Discussion options

You must be logged in to vote

Aha! I finally found the answer to my own question:

@pagy = Pagy::Offset.new(count: results[:total][:value], page: page, limit: limit, request: Pagy::Request.new(request))
@results = results[:hits]

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by dshorthouse
Comment options

You must be logged in to vote
4 replies
@dshorthouse
Comment options

@ddnexus
Comment options

@dshorthouse
Comment options

@ddnexus
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants