Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make pagy work with multi-search #362

Open
ellnix opened this issue May 25, 2024 · 0 comments
Open

Make pagy work with multi-search #362

ellnix opened this issue May 25, 2024 · 0 comments
Labels
bug Something isn't working needs investigation Needs to take time to understand the issue.

Comments

@ellnix
Copy link
Collaborator

ellnix commented May 25, 2024

          Pagy search won't work with multi_search, is it?
  def show
    hits = Post.where(account: Current.account).pagy_search(params[:query])
    @pagy, @hits = pagy_meilisearch(hits, items: 25)
  end

How can i translate this to multisearch ?

Originally posted by @botbotbotbotboot in #337 (comment)

@ellnix ellnix added bug Something isn't working needs investigation Needs to take time to understand the issue. labels May 25, 2024
ellnix added a commit to ellnix/meilisearch-rails that referenced this issue May 25, 2024
Should look into adding pagy specs in the future, along with
meilisearch#362
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs investigation Needs to take time to understand the issue.
Projects
None yet
Development

No branches or pull requests

1 participant